Merlin Entertainments has been fined £5 million over a rollercoaster crash.