A zebra has stuck its head into a car with a passenger.