> What if there are no human soldiers or fighters at all? No-one needs to die in a war again, but wars are won by the side with the stronger tech.

Ultimately, the side with more arms will be killing humans, soldiers and citizens of the other side. They simply wont stop at destruction of machines.

Look at Iran war - USA can bomb them without threatening themselves. Or Lebanon - Israel can bomb them with no repercussions. In both cases, weaker side has people killed. In the second one, in an astonishing rate.