To be real, if we wanted to force this make sense like Han Solo completing the Kessel Run in 12 parsecs, you could also say that the machines needed humans not to generate the energy but to regulate energy like capacitors, hence the battery metaphor.