A five-year-old girl was dangling from a ski lift in California when a crowd rushed to her rescue.