A fairground company have been prosecuted after an employee was run over and killed while setting up a ride.