Right now, the military is developing new AI patterns that allow drones to "recognize the intent of other aircraft" -- that is, accurately predict what they will do next and decide if they should change their flight course based on that info. These drones will be able to connect to air traffic stations and look up information in databases, then cross-reference that data with the images captured by their cameras to get a "read" on the other aircraft.
"Hey, you wouldn't want us to trust a dumb machine with big, scary missiles."
The military says this technology isn't meant to be used in battle ... but again, neither were the drones, at one point. If they can teach a UAV how to recognize hostile aircraft, the next logical step would be teaching it how to fight them.
"I learned this from you, dad!"
Now, these future independently thinking flying killbots will surely have oversight from the ground, in the form of a human who can take over control if it starts firing wildly at friendlies. This seems like the right time to mention that we've lost control of military drones more often than you think (sometimes over American soil). When that happens, we have to dispatch a manned aircraft to blow it out of the sky before disaster can strike. Fortunately, that's easy because the drones aren't smart enough to sense the intent of the pursuing aircraft and take evasive action. Which of course is the very ability they're trying to add.
Cold robotic efficiency is just one more step in the Navy's war on "Top Gunnery."