A few of them have. The core issue is it doesn’t add much range, while at the same time adding more cost, weight, and complexity. On a sunny summer day you can expect to get single digit kilometers added to the range, while on a cloudy winter day you won’t get even a full kilometer added.
They do make some sense on hybrids, as they are lighter so the range increase is a bit more and people are less likely to charge a hybrid. But, they still suffer from not adding much range, while adding cost, weight, and complexity.
Edit: Auto Focus did a re-review of the Fisker Ocean, which has solar panels. Linked to the timestamp where he is talking about them.
Solar panels on the roof and hood of a car are dubiously useful. This car has panels on the sides of the doors? Those are going to get but a fraction of the light the roof ones will. This just looks like someone tried to shove as many on as possible with zero thought into the efficacy of the idea.