I just assumed it was a metaphor for runaway climate change, which they didn't want to spell out because of the political noise it'd generate. Just like in Matrix I assumed that the nonsensical "humans as energy source" was a metaphor for "humans as coprocessors."
Basically if there's an easy way to change the explanations so the movie makes more sense to scientists, but it would have made less sense to much of the general audience, I just cut them some slack.
You're at least definitely correct about The Matrix; humans as processors was the original idea. Unclear why it was changed, but probably a producer thought batteries would be more accessible.