As its US rival has stumbled, the company has established a lead in the market for commercial single-aisle aircraft. But both are eyeing Chinese competition