I do not think so. At most, in that timeframe we will see countries starting to ban sales of new cars which are not plug-in hybrids or better. And then remember the average lifespan of a car today is ~20 years, you will still see old pure petrol cars on the roads in 2050 is my bet. Just like you still see old cars on the road today without any catalytic converters.
If you look at the electric car market today, you have lots of small cars with reasonable-ish range, one sedan with good range and two pretend-SUVs (Model X and I-pace) with good range.
No manufacturer anywhere makes a pure electric estate car (station wagon); this is the most popular type of car in Europe. Nobody makes an electric pickup; this is the most popular type of car in the US. Nobody makes an actual SUV, Ford Expedition/Toyota LandCruiser/etc. style that can fit four mountain bikes in the trunk and tow a 9000 lbs trailer. Nobody makes an electric commercial vehicles of the type electricians, plumbers etc. drive.
What do all these have in common? Inherently terrible aerodynamics / poor mileage and a relatively frequent need to go long distance trips. If you take current battery tech and do some optimistic extrapolation of future developments, you still end up with battery packs costing $50k+ and weighing several thousand pounds. Which isn't going to work anywhere, nobody is going to buy an $80k+ electric pickup when a diesel F150 starts below $30k.
But I do think we will see reasonable plug-in hybrid versions of these car types. And Tesla will never be building cars with internal combustion engines, so they're effectively locked out of what I believe will be the biggest part of the market.