Panels are cheap, but integrating them into something like a car takes time and effort, and hardware to support charging from solar, all of which costs money.
It's even more money if you want to design a car that can obtain any measurable amount of range from solar.
Those costs are all distributed over the manufactured product, as opposed to requiring bespoke engineering and construction work on each installation. I would also argue that designing more energy efficient transportation is worth doing regardless of whether that includes solar or not.