American Airlines is investing in reliability, technology and premium products as it rethinks its business for a changing market.