I can comment on affordability - see E-Golf in my sig. Picked it up for $12.5k as a CPO so comes with a 2 year/24k warranty w/$50 deductible, battery is covered for another 5 years and ~40k miles. $12.5k for a BEV with cloth seats is TOTAL LUXURY for smug people right?
Maintenance: Except for an annual visual inspection and tire rotation that runs ~$60 per the post cards I get from the local dealership, there are cabin filters every 2 years, tires when they wear out, wipers and thats really about it. I doubt I will have to address the brakes anytime soon as most of the braking duty is handled by regeneration, I have to make a point to do some high speed aggressive stops off the highway to clean off the friction brakes because they are used so infrequently. It appears prior owner on 3 year lease did not even take it in for the inspections - based on Carfax they brought it in 2x over 3/59k miles to replace key fob batteries - basically zero maintenance. Whether they rotated the tires or not I have no idea.
Economy/fuel cost: Don't paint everyones drive/commute with the same brush. My commute is not friendly to any gas or diesel (3 miles, ~18-20 stoplights, 35-40 MPH speed limits, pre-pandemic that 3 miles could take 45-1 hour to complete in the afternoon). Even rental Camry and Altima I had were sub 20 MPG average after I slugged them out on my commute for ~1 week - these cars are rated at 29+ MPG city and I was seeing ~10 MPG less than that. My '12 VW TDI would usually average about 21-22 MPG on same commute (vs 29 city rating), my departed MB E350 4Matic would hover around 11-12 MPG (vs 17), my MB C300 would hover around 13-14 MPG (vs 18). EPA city MPG doesn't mean crap when you are creeping stoplight to stoplight with a few times actually hitting the speed limit.
I'm at about .056/mile for electric cost on my E-Golf for the past 6 months, this is very slightly inflated as I have a few DC charging sessions mixed in and I can get distracted and not stop the charging station at work once my car is full so I'm paying to just be plugged in. Based on 19 MPG I had in the Camry over a week I would have been at about .099/mile, lets say the Corolla does 2 MPG better in my commute I would still be at .090/mile based on current regular unleaded prices in my area ($1.89).
The E-Golf is very well suited for my commute and is our exclusive in town car, the TDI is for when we need to venture beyond the E-Golf range which are drives better suited to the TDI.
So no - electric cars are not "luxury replacement that smug people can feel good about.". They are a tool that will fit certain lifestyles, no they will not fit every scenario just like my departed TDI did not fit in with my commute.