One of the engines on a United Airlines flight taking off from Dulles International Airport in Virginia failed as it lifted off Saturday, sparking a fire near the runway, officials said.