Ok, let me spell it out in pictures and big words..Your car gets you to work and back, generating income.
Gets your kids to school.
Gets you freedom to explore and enjoy life.
A car also gets you to help in an emergency.
A car is a utility and an asset that drastically increases your quality of life.
The only mindset issue here is yours.
I'm not suggesting one or the other. But maybe 200k extra spent on a premium car vs a PV system and a less premium car is a better financial decision.