The machines were right.
I mean you'd have to suspend disbelief for one giant bit as the human organism is exothermic, so a battery based on humans is not physically feasible.
The real great win though is a more generalized understanding of Descartes' demon. and casting it in a -slightly deabtable- circumstance.
I do lose track in the sequels, though, those overstay my ability to suspend.