The problem is that these electric cars have terrible range, because of the small battery, making them almost exclusively city cars. A-segment gas cars are also marketed as city cars, but they can also do long trips just fine. Not the most comfortable, and you are not taking your entire house with you, but you will get there, at highway speeds, just like with any other car. And with good fuel economy too. Perfect for those who want an affordable car, don't drive much, but may take the occasional road trip. By comparison, that 2CV is mostly designed as a second car (in addition to being a fashion statement), when you already have a big car for long trips (or get rental/public transport instead).
And for manufacturers, I think "affordable" is the problem here, A-segment cars are low margin, but not cheaper to design than more upscale models, especially now with all the safety and environmental regulations, so the market is not really worth it.