Speaking of which, what would a robot war look like? I imagine a large portion of the effort would be to hack/otherwise persuade the enemy robots to switch sides.
Here's what the US Army Research Lab thinks warfare will look like in 2050. Reading just the Contents is a pretty good TL;DR but basically augmented humans, micro targeting, lots of misinformation, and so much information that decisions have to be automated to the point that humans can only operate "on the loop" instead of "in the loop".
Politics. There are obvious strategies (bomb everything, if war still not over, build bigger bombs and GOTO 10), but that sort of demotivates humans and they stop the war.
It'll be interesting (as in the old fake Chinese curse interesting) to know what happens when less democratic power structures wage war. They are still constrained by economics (trade creates value, if they bomb the shit out of someone they might find themselves cut off from trade, see embargoes and sanctions on Russia) and the possibility of an internal struggle (civil war) is always there.
It will always come back to threatening human lives. You can always smash machines against each other, but ultimately it's pointless until the humans themselves are threatened with their lives.