I look at it like I did with my solar installation. Yes it cost me a ton to put panels on my roof, but I no longer have a power bill, so I'm saving $200 a month on electricity. That adds up over the years. In 6 more years I'll have paid it off, and then it's pure profit.
Could I have invested that money and made a better return? Maybe yes, maybe no. But I know for sure I will pay off those panels, and then I will be making money every month.
So yea, my EV cost a little more, but I'm saving a few thousand a year not paying for gas, oil, and maintenance. I know my car won't be profitable like my solar, but in the end it will still cost less then a gas car. Also EV's (modern ones at least) hold value pretty well compared to gas cars.