That is very unlikely. People could have survived just fine during the Eocene Optimum, ~50 Myr ago. When the entire planet was tropical. Assuming that they knew what to eat, anyway.
Widespread ecosystem collapse is a plausible risk.
The thing that matters is keeping our current technological civilization together. If it collapses, it'll undo all the things humanity has achieved, and will prevent the next couple hundred generations from achieving them again. All the advancements in our understanding of the universe, our capabilities, our quality of life - and all the hopes of further advances, ending aging, leaving Earth - poof, gone, not coming back in a while.
(Yes, I'm of a view that there's little difference between humanity 500 years ago and 5000 years ago; everything that's interesting started happening with the printing press and industrial revolution.)
The worst-case scenario is a collapse of civilization, which - with or without wars - means mass starvation (if you live in a large city, you'll die in the first week). Your grandchildren - or more likely, someone else's grandchildren - will be living in Mad Max hellscape, desperately trying to stave off reverting to pre-industrial levels of life and technology.
(And with all the easily accessible energy sources already mined out and gone, I suspect the next industrial revolution won't be possible for many, many millennia.)
This is why we regulate the market. The market will seek to maximize its profit within the bounds of the law. Make the above suggestion compulsory, and the market will adjust to it.
But I would not say this is market failure, to me this is market working exactly as intended and expected: maximizing profit without caring for the rest.
On the other hand, it is not a question of subsidy/handout paid by future generation anymore, we're now at the point where it is a matter of going over the threshold effect where the consequence will be no human life possible on earth in a matter of decades.