NOTE: This takes place in a far future earth setting.
Two AIs are fighting each other in the solar system. (Although this may be irrelevant, they cannot really leave the solar system since they lack FTL. I will explain more about this if asked). Although they are AIs, they were trained to act as humans, and their primary motives are greed & a lust for power. They both have access to massive armies and incredibly advanced technologies.
They have terraformed many planets and asteroids and such to be able to sustain human life.
One would think that since robots and other non-biological soldiers are so much more resource-efficient, (after all, they require no food, oxygen, sleep, and they only need minimal training [you can easily download a soldier subroutine from the Web!!]) powerful, and easier to produce, humans quickly become obsolete! !
But we see that is not true! There are billions of humans all over Earth, Mars, Mercury, and many asteroids and moons.
Why do the AIs maintain such large, unnecessary populations of humans?
NOTE: A possible answer could be: The AIs wants subjects to rule. This answer is easily rejected, since the AIs could just leave a few hundred humans in some kind of cryogenic stasis and wake them up to rebuild human kind once the war ends.
Also, I’m not sure if I have the proper tags. If I have the wrong ones, don’t hesitate to let me know…