AI: Existential Question

Why does the sorcerer need an apprentice at all? Eventually, there will be no need for the sorcerer.

Did the AI in the Matrix determine that a human battery would last longer if its brain perceived a simulated existence? How many human batteries does it take to simulate the existence of a single human battery?