Given current oil and gaosline prices, demand has risen considerably for alternatives to petrol powered vehicles. While tesla current has a good position in EV (electric vehicle) markets. The biggest complaint I have heard is new teslas trending towards being unaffordable for many. While Elon Musk has announced a low priced EV will be produced soon, that model has yet to hit markets.
With fossil fuel prices rising, soon the electricity price follows (as it has also already risen). With more embargoes and conflict with where nuclear power plants's fuel comes from (ie. mainly Russia) the nuclear electricity would also become scarce and as a whole electricity prices could go up.
In other words electric cars aren't the magic solution to gasoline price rise.
I saw someone on here claim oil was expected to become an unfeasible asset to extract from the earth around the year 2050.
It depends on the source/country. Some regions have very little supply as it is and they are already running out. For example they predict US to only have oil for about 5 years (meaning till about 2025) but other regions are blessed with massive supplies. For example in Iran some predict we are going to have oil for at least 200 more years (ie. till 2200).
In other words fossil fuels are not going to be replaced or even lose their position in the global markets in our lifetimes.
Hauling cargo and large loads would need to be solved using other methods. Steam powered railroads were once used for this purpose in centuries past. Perhaps they could one day make a return.
They used coal which is both inefficient and creates a lot of pollution. It won't come back ever.