I'm skeptical that an AI for airplanes exists that can distinguish between "obviously deadly commands" and "trying to rescue the plane during a mechanical emergency".
As we've learned at great cost, angle of attack sensors are wrong more often than pilots are homicidal though, which is part of the reason why the form of intelligence used to deter and attempt to prevent obviously deadly pilot actions is a lump of meat called a copilot.
Looks like that's how they fixed the issue.
> aviation authorities in some countries implemented new regulations that require two authorized personnel to be present in the cockpit of large passenger aircraft
https://en.wikipedia.org/wiki/Germanwings_Flight_9525#Regula...