畀 and 被's modern pronunciations are quite similar.

Although 畀 can mean “give” like the Mandarin 给 it also can work like 被:

>佢畀人睇見 

>他被人家看見

Do Cantonese 畀 and Mandarin 被 have any historical connection?