A United Airlines flight that departed Hawaii for San Francisco late last year came just 775 feet from colliding with the Pacific Ocean, data shows.