The flight was preparing for takeoff in San Francisco when smoke in the cabin forced everyone to evacuate the plane.