I don't think that anyone thinks the oil industry is the same as 50 years ago. I also don't think there is anyone (on the professional side at least) who does not know that oil companies, specifically the majors, trade with the price of oil. If these are actually unsafe stocks then there is a huge amount of money to be made by betting against them in a variety of ways. I actually don't think it will be as catastrophic as you think since in an such an environment a lot of oil companies in the US would go out of business, or be substantially reorganized. The prices of certain things would increase and maybe alternatives would arise.
If in 30 years we are going to need substantially less oil than we do today, in 10 years we should be starting to see that reflected in the price. So if you really believe that you should be selling long dated futures contracts, or shorting major oil company stocks, or shorting companies specializing in oil transportation, or probably a variety of other things.
Do you really believe that hundred-year-old companies aren't planning their future? Sure, some companies will fail (they always do), but others adapt. Every oil company is well aware of the effects and politics of climate change, and most have massive renewable investment in the works. What gives you the slightest idea that you see something that "they" don't?
My comment was about the investments, not the companies. Some oil companies have significant investments in electricity grids, electric vehicle charging, renewable generation etc, and some do not. Even if they do, it’s not obvious they are best placed to be competitive in those industries or sustain the same profits, although hopefully they can do well. BP made a big investment in solar which it gave up on, now they are investing in charging infrastructure, hopefully that will turn out better.
I think 30-year oil investments are relatively safe if this is their threat. I can’t see this happening in less than 30 years.
You also have to bear in mind that electrification is most attractive for vehicles which travel the most distance, and consume the most fuel. Even 20% electrification of the fleet will have a massively outsized impact on oil consumption if it represents all taxis, buses, long distance commuters, road freight, etc. See Bloomberg’s previous research about displacement of fuel from buses:
https://www.bloomberg.com/news/articles/2019-03-19/forget-te...
As long as OTR trucking's primary regulatory irritants are weight and working hours it will resist electrification (unless electric somehow magically becomes so dirt cheap to run that it makes up for the limitations).
Working hours could actually be beneficial in Europe. Drivers require regular breaks over here. If batteries and chargers can sync with the required break cycle, then there's no reason not to go electric.
However, I do think that charging infrastructure will be the main issue, seeing as often tens of trucks will be at the same stop, they'll need a lot of power to get all of them charged within their breaks. Because existing rest stops don't seem located near power lines, that might be a challenge.