Workers at a nearby Jaguar plant in Birmingham helped rescue two men trapped on a car factory robot-based thrill ride.