Regarding survivability of humanity I have similar fear but my current hope is that while weapons will continue to be more attainable their relevance might diminish. Why fight your neighbor if you have everything you need? But warlords create a problem of their own because they seem to exist to attain superiority for its own sake.
If we can make energy storage simple and cheap enough
If you're thinking of big Tesla Powerwall-style batteries, that just kicks the problem ahead by a few years or decades.The materials needed to make those batteries are finite. They will become "the new oil" in N years.
Energy storage is going to be a big part of any sane energy future, but it's going to have to make heavy usage of non-battery means: giant flywheels? Pumping water? I don't know.
But energy can be stored by pumping heated water to deep wells in the bedrock for example or you can use excess power to generate hydrogen and feed it back to the grid via fuel cells when needed. All of this is doable, but also slow to build and currently expensive.
This is not an argument against recycling batteries, by the way. Chemical batteries are a big part of the future, and we should recycle them. But let's not be glib about any of these choices.
The existential problem with oil is climate change, not finite resources.
One word serves to explain why what you imagine won’t happen in time: profit. More specifically: oil profits.
Clearly this line of logic is not working, seen in Ukraine. At some point there is a person with enough power who wants to fight just because they can. Essentially humanity is at mercy of random power-hungry sociopaths to not bomb the nuclear power plants.
Global warming is not a civilization-ending threat. Even nuclear war is not a civilization-ending threat, outside a few places in the Northern hemisphere. I could be wrong about both of these claims. But you could be as well, and you're taking an extremely pessimistic view based on what you know, which is not the whole picture.
We also know that it causes an extinction event, since it was one of the effects of the K-t extinction event 60 million years ago. It is the one that killed the dinosaurs, and many more: A huge number of species, including almost any large land animals, dies. It is unlikely that homo sapiens would survive this time.
The worst case scenario of global worming would not kill everybody. People living north of 40o will survive.
Then Saddam lit thousands of oil wells on fire as a big fuck-you to the miltary coalition arrayed against him, more oil than would be set on fire by any nuclear war. The cooling effect was detectable, but hardly serious.
Global warming is a threat that will have tons of negative impact. But is it really "civilization-ending"?
There are the typical threats (which assume society remains more or less stable) such as ecosystem collapse leading to food shortages etc.
Then the non-typical threats. It is hard to predict what an unstable society will do, and some of those choices could be civilization ending.
We've built an extremely fragile massively interdependent system. It is conceivable that the US power grid could go down, and due to supply chain issues could not be restored in < 5 years. Unlikely, yes, impossible, hardly.
Is that enough to end civilization? How would we distribute food, assuming we have it?
Plenty of cases of lost civilizations in America, Asia and Africa linked with desertification and climate going unstable
It can't be a very large percentage.
I would like to be wrong.
> we’re not capable of
I don’t think so, either. This sentiment tends to be met by the techno-futurists on this site with swift downvotes, though, so is not a popular one to espouse here. Nevertheless I believe it to be true based on the evidence at hand: humanity is too short-sighted to prevent its own doom.
I believe nuclear power is essential to the survival of humanity. I also think you are likely correct: humanity cannot be trusted with nuclear power. If true, this is yet another data point against our survival.