Britain's Got Talent judge Simon Cowell was left in a dangerous situation during Saturday's episode of the ITV show