I heard the script originally stated that the human brains were being connected to be the processors for a huge computer used by the machines. They figured the older audience wouldn't understand and changed it to energy.