The issue with solar powered cars is the amount of energy that hits the vehicle is less than most people tend to assume. BEV's were mocked for the perception that batteries will never be able to hold enough energy at a low enough cost for them to replace an ICE vehicle. This was really a perception issue, not a physical limitation. BEV's could have been made long before Tesla made the first Roadster, but the cost was so far off no sane person would dare.
The solar radiance hitting the average cars roof over the course of a day is in the neighborhood of a handful of kWh. This depends on the day, assumes no shading or obstructions, and 100% conversion to electricity. Current solar cells are capable of mid to upper 20% efficiency, best case. So you're in the ballpark of 1-2kWh in great weather and ideal conditions. This could get you maybe 10 miles driving gently in a M3 assuming you have an exceptionally efficient MPPT SMPS to charge the pack direct. This is very possible today, id imagine anyone in the EV industry knows this. The issue is the value of that energy is around $0.20/day, and it only works when the car is parked outside during the daytime, unobstructed. Having even seemingly minor obstructions can easily halve this energy. Less than ideal solar irradiance will also have massive variability. In the winter, even in a great area, the energy captured might be 1/4 to 1/2 as much as summer. Averaged over the course of the year, my best guess is you would be lucky to get 1kwh a day. So maybe $40 worth of electric a year, and the setup would likely cost at least 200x that.
It's not that its not possible, it very much is. It just makes absolutely zero financial sense, and so is unlikely to be practically implemented. The only use case is when the vehicle has to be totally offgrid, and will be parked outdoors in sunny weather anyways. But with the M3, the energy generated wouldn't even be enough to offset the losses associated from keeping the cell temperatures in check when parked in the sun. The only way for this to work is to design a car around a massive roof area for more PV area, and absurdly efficient aero. Then, if you drive slow, im sure some people can get by without ever charging. But its super impractical for the average person. and it makes absolutely no financial sense.