As I heard it explained, the original manuscript had the humans kept alive because the Matrix was actually running on the humans' brains as the computing substrate. This both made much more sense than humans as a power source, was more horrific, and a better story.
Apparently this was deemed to hard for the unwashed masses to understand, and we were left with this battery analogy instead.