Aliens, rapture, robots: Hollywood takes on the apocalypse