Just keep building bigger and bigger nukes. What's with this unnecessarily complex middle step towards universal self-destruction? why build a rube-goldberg machine to shoot yourself in the foot?
We build industrial machines to do tasks that human hands cannot.
Even though they have no directive to harm you, industrial accidents happen that leave people dead and/or severely hurt.
What makes you believe that an autonomous machine built for adversity, with the ability to mass kill in an area (with autonomous movement options on top), won't have an "industrial accident" and accidentally shoot up half your army and civilians.