I Am Legend scrapped its original ending because test audiences 'felt cheated' by the big twist
Discussion
(winteriscoming.net)
Apparently, the original idea was for humans to be used for computing power, not as batteries. But they were worried people wouldn't understand that so changed it to batteries (which makes no sense). Something like that. The similarity is in dumbing down the concept