There are more than two options. Some other options include building defenses against such weapons or actively working to subvert the other side's building process.
Okay - Without understanding a specific tech, would it be possible to defend against it? And subversion may not be possible against certain countries. I would rather have these type of weapons developed by countries ruled by democracy.
Also, sending wave after wave of your own men at them until the killbots reached their pre-programmed kill limit and shut down.
I am assuming this is a joke, but if it isn't, then guess which countries have/don't have the manpower to be thrown at killbots :P