

Kat and Kropp get in an argument over the war as they rest from an hour’s worth of drill (occasioned by Tjaden’s not saluting a major properly). Kat believes the war would be over if leaders gave all the participants “the same grub and the same pay,” as he says in a rhyme. Kropp believes the leaders of each country should fight each other in an arena to settle the war; the “wrong” people currently do the fighting.
Erich Maria Remarque - All Quiet on the Western Front 1929
In all these types of sci-fi, the underlying theme is that AI did some logics and found that humans are flawed and seeks to remedy the problems of humanity, all the war and greed and all the worst qualities of humanity itself that we evolved as and will always be, that repeats over and over in every generation or every hundred years. Machine logic works out a solution, despite humanity’s overall progress in technology.
The Animatrix shows a really nice example of this where the machines won and then worked out a compromise where humans still exist. The machines learned all our cruelty and finally ended up finding a way to co-exist through the Matrix.