American Airlines has carried out the first civilian passenger flight of a Boeing 737 Max for nearly two years following the aircraft having been grounded after two fatal crashes.