Adjust for the $7,500-10,000 in credits you'd get and $30K net isn't bad for a nice well-equipped electric car that will probably save you $100 +/- per month vs fuel. Fisker's coming out with the Pear, which will base out at $29,900 (plus destination I'm sure).
Government regulations have run up the prices of cars for sure, but they're safer and get much better fuel economy. Manufacturers are putting a lot more standard equipment in them as well.
Lots of cars under $20K these days:
https://www.caranddriver.com/features/g44830210/cheapest-new-cars/