Long-haul budget carrier AirAsia X said one of its flights heading from Malaysia to Saudi Arabia turned back Sunday shortly after takeoff due to a technical problem, circling for hours before landing safely in Kuala Lumpur.