As we read over at some military news site,
DARPA's AlphaDogfight trials have officially come to a close with Heron Systems' incredible artificial intelligence pilot system defeating not only its industry competitors, but going on to secure 5 straight victories against a highly trained U.S. Air Force F-16 pilot, without the human pilot scoring a single hit.
This should not be confused with the Intelligent Flight Control System (IFCS), a next-generation flight control system designed to provide increased safety for the crew and passengers of aircraft as well as to optimize the aircraft performance under normal conditions. What is most valuable to 99% of the rest of the world -- outside of military applications -- is regarding passenger planes which fly autonomously. Software would have to be capable of handling emergency situations. At present, modern airliners do a good job of flying automatically until something unexpected happens. At that point, a pilot takes control and typically resolves the problem. Very rarely, though, a pilot must act to save the aircraft from catastrophe.
There's more details about autonomous flight over at the I-triple-E, Application of AI Methods to Aircraft Guidance and Control.