Naomi Campbell has been given 200 hours' community service for assaulting police after going "berserk" on a plane.