I don’t think you’d have to run the AC any more aggressively with the solar panels than with a traditional steel roof?
If you’re suggesting it wouldn’t work in a garage, that’s obviously true (and another factor in whether car solar makes sense) but many (most?) people park their cars outside during the day anyway. I for one can’t remember the last time I parked under cover