Can't some of this be mitigated by having voting systems? Have three AI systems from three different vendors and they vote on the solution? Then any one failure will just fail the one system. The chance of three identical vulnerabilities in three different architectures is pretty slim. You can also have some of the Airbus "watchdog" hard coded oversight to prevent flying outside a defined envelope for most normal flight.