No, planes are a TERRIBLE example of incompetent engineers and your arrogance is breathtaking.
We can even notice this with the difference in software on more critical systems vs non-critical. Compute systems on cars are not the same compute systems in your computer, and are way under powered in comparison. These systems don't fail often, but are slow and most complaints are about how they lack features. On the other hand, my laundry room app has washers in a semi-randomized order (room order 4,6,7,3,11,9,...) and the programmer clearly doesn't know about the sort function. You don't see planes falling out of the sky because of computer issues despite the whole system being fly by wire and that planes mostly fly themselves. Same goes for cars. But you do see washing machines and Twitter fail all the time. These things have different objectives and when you compare you have to consider the different goals.
I'm curious, which projects are working on this? Any ones that we know about?
In terms of production weapons I know the newer Switchblades, Excalibur, and even Javelin do some fancy automated targeting before the terminal phase but that's not really AI beyond image recognition and the targets/specific destination are pre-selected. I'm curious what sort of applications would use autonomous targeting without overt human involvement.
As for autonomous target/kill programs, that'd be the USAF's Collaborative Combat Aircraft (CCA) program (under NGAD).
It sounds like they're keeping human-in-the-loop for now by targeting a 1:many manned_stealth:drone ratio, but that will be subject to erosion as autonomous capabilities improve.
And the very nature of the mission requires autonomy -- drones penetrating deep into sophisticated air defense systems using stealth and emissions control (so only line-of-sight communication links). Nobody is going to be remotely piloting these things.
Is it? How?