Passengers and a driver have been evacuated after a bus caught fire, resulting in the closure of a road.