American Airlines has grounded all US flights because of a technical issue the morning before Christmas.