You can, but how many cars are actually powered this way? Same goes for datacenters. It's not like electrons from solar panels physically don't work with GPUs, it's just that it's hard to make it work due to other constraints.
> how many cars are actually powered this way?
Some. Hence "why can't they make a car run on solar power" isn't the obviously dumb question you make it out to be.
For electric cars it isn’t uncommon for people to put solar panels in their homes or their garages to charge them. I think the car themselves with solar panels won’t work because most people store the cars in garages usually, away from the sun - it is usually very harsh on everything that isn’t solar panels.