Delta Airlines was struck by a fault in its own software on Sunday morning, sparking chaos across the US.