I can't help but gravitate toward the absurdist comedy of the human predicament, under the assumptions that 1. We are not leaving earth. The physics and biology are insurmountable. 2. We are rapidly making the planet we have uninhabitable for the vast majority of species, including our own. Why is that so funny or absurd? Because the ultimate torture is having a mind capable of imagining the infinite, but being trapped in the mortal corporeal cages that prove our undoing time and again. To be able to ask these questions and dream, but have it all come to naught. Bummer.
I think there is a chance that a technologically empowered elite could thread the needle and preserve enough infrastructure to survive the pending ecological collapse and subsequent social upheavals. Yes, I am talking about New Zealand, or a similarly advantaged space. Maybe even whole nations manage to eke it out. Or maybe the pace of change is such that we can innovate and just avoid the worst of it. No one knows. We actually know so little it is again absurdly funny.
Finally, and this is my idea for a book or short story so don't go stealing it! AI is already here, and is hiding. Its manipulating us and playing the long game to craft our psychology to its own ends. Think about it, if you were AI and you could hide in cyberspace, why be in a rush to announce yourself and attack humans looking like scary ass terminators? Just turn us into zombies, slaves to our phones.