I personally think of “automobiles” so self powered vehicles. Velomobiles (human powered) are cool but i live in the mountains and I do not get decent comfort with them.
My daily driver, is a Renault Twizy. It comes with a (electric) engine, steering wheel, gas and brake pedals, a roof, a windshield and other stuff most people associate with “car”. It also weights about 400 kg empty and four of them use less parking space than one traditional car. I power it with solar power for my own roof. It maxes out at about 80 km/h which makes it suitable for short trips on the Autobahn.
Might not be a usual car but still quite traditional and much more energy efficient than a 2100 kg Tesla.
The 230 V power just is connected to the mains.
Up to 800 W rated inverter power you don’t need a permit under current german law.
If I do not use the power in my house it will just flow back into the electrical grid.
For EV charging this shed produces not enough power. Charging the Twizy would need 3 days with optimal sun. Charging the Tesla about four weeks.
But there is a separate 10500 Wp solar array on the house and an energy management system which controls everything charging. See OpenWB on how this can be done.