EMP weapons are really going to become a thing soon, because of that.
ANd yeah, I would not feel okay with a autonomous armed anything, period.
They already exist albeit in very specific roles with very specific identifiable target parameters.
Torpedos have had autonomous underwater target seeking modes almost as long as we've had torpedos that aren't just "hit the target I'm pointing at", and I'm pretty sure there are some HARM systems in service that have cruise missile class range/time which will go into a station keeping mode while searching for enemy radar signals.
Aside from that, I don't know if any systems are in active use yet, but they've been developing weapons systems for the battlefield that use the same kind of station keeping search profile and would autonomously identify ground targets (think identifiable shapes like tanks, fighters, and/or mobile artillery/AA).