American Airlines has agreed to pay $200 million for a stake in the biggest of China's three major state-owned carriers.