A man who yelled antisemitic profanities while pretending to shoot at people from a pedestrian bridge used by the Bondi Beach terror attack gunmen has been sentenced.