It's like WWI all over again. In WWI, people went happily off to war thinking it's going to be nice and heroic and adventurous like the good old days and they all get slaughtered in a pathetic pointless way in a blink of an eye by newly developed automated war machinery. The first AI War is going to be a really brutal wakeup call. The part in sci-fi where anyone actually has to aim to kill an enemy was a big romantic…
https://www.youtube.com/watch?v=q0oGZ4TZr5k
Now, we're not yet at the point where it's cost-effective to give every infantryman a thing like this - the scope alone costs more than most high-end sniper rifles. But costs will go down...