I Am Legend scrapped its original ending because test audiences 'felt cheated' by the big twist
Discussion
(winteriscoming.net)
I'd suggest reading it instead. It's pretty short (130 pages depending on printing) and a good read.