A four-year-old girl was left terrified after riding a dinosaur attraction that made it feel like she was being eaten alive.