The answer is: there are enough customers interested in buying an electric cars but both the available product range and production count limited their ability to do so. With the offerings of electric cars improving, the consumers are happily buying into them.
(Edit) Battery Electric Vehicle
Nobody is forcing anyone to sell BEVs, what is forced is efficiency. Full BEV is only one way to achieve that goal. Look at Hyundai Ioniq hybrid - a perfectly capable midsize family car, affordable, introduced to the market in 2017. It will meet emission standards all the way until 2029.
Volkswagen must sell BEVs to meet its fleet emissions standards. Unfortunately for them, they missed their 2020 target so they will be paying a fine:
https://www.reuters.com/article/us-volkswagen-emissions-idUS...
Volkswagen doesn't want to waste money on fines so they've made a big commitment to EVs. They've become the biggest BEV maker in Europe and in time they'll be the biggest BEV maker world wide, which isn't that surprising. Volkswagen owns 12 automotive brands and they're the world's biggest car company.
https://electrek.co/2020/12/07/toyota-electric-suv-battery-e...
Toyota is in a good position with their fleet emissions because they've been selling hybrids for so long. They're not under as much pressure to start selling BEVs in high volumes.