A court is told a bus company exposed the public to continual risks by employing a driver who later crashed, killing 10 people and injuring 25 others.