Another explanation would be that even if humans weren't the best form to store energy, they were already plentiful and their numbers may have been a burden.
Using them as batteries reduced those numbers which is a plus, and meant the machines didn't have to build a new store of energy, and could use the existing humans.
Using them as batteries reduced those numbers which is a plus, and meant the machines didn't have to build a new store of energy, and could use the existing humans.