Well, I'm not surprised, however ironic the situation is.
"Let's make tracking and decision-making software/hardware because we want to track people. This is good because we have more control."
Then they realize it's being used to harm/control people they like (or even themselves in the future) and want to stop... this realization comes years later. As much as I want to be surprised at this shortsightedness, I can't be. These (usually left-wing, but not always) people behind the giants in tech are always hypocritical, to the point where they can't even see the ramifications until they end up in the shoes they put others in.
On some of the other thoughts I've seen in the replies:
I don't think a lot of people realize that drones don't need to get close to kill people. An EMP would actually do more harm to the defender in that case... unless you could shoot EMPs at drones. But even then, anything not grounded to earth and surrounded by metal acts as a faraday cage, protecting the device from EMPs. Cars, for example, would probably be fine if hit by an EMP, since they aren't grounded to earth.
As for robot vs robot warfare: As much as this idea is preferable, it's not realistic. If it isn't going to kill people, it's not much of a threat; therefore, these things will be designed to kill/threaten civilians and avoid other robots.