What Is The Alternative Ending To I Am Legend?

Why is there an alternate ending to I Am Legend?

.