Earlier quoted context omitted.
I disagree that it isn't happening. Solar PV capacity is growing rapidly. Vehicles are increasingly powered by electric batteries. These things were all prohibitively expensive for most people in Western countries, but their declining cost has made them more affordable and more used.
Vehicles are increasingly powered by coal plants. Electric batteries don't power anything, they're best compared to empty buckets.
Coal's share of electricity production is declining or being phased out almost everywhere.