> To have the species survive if anything ends all life on Earth
Nothing the universe has thrown at Earth in the past 3 billion years has been capable of ending all life. And nothing that could happen in the next million years seems possible of doing that either.
When we say life on earth we mean human life and civilization. Prokaryotes, while alive, are not really what people mean. Yes they would survive asteroids, nukes, possibly nanobot swarms.
Nothing the universe has thrown at Earth in the past 3 billion years has been capable of ending all life. And nothing that could happen in the next million years seems possible of doing that either.