Don't think that
AI is some godlike system that does not make a mistake. AI is a set of computer codes written by some computer geek who has probably never even flown a C152.The scope for code stuffups (bugs) is vast, and many code possibilities may never be fully checked for bugs. So you should EXPECT that your automation will one day go walkabout, right when you need it. To suggest that AI can solve safety issues in flight is downright naive. Accountants are naive in the ways of both flying and AI. Don't allow them to put pilotless aircraft in the skies...