A way to think of it is to imagine a gas-powered car with a gas tank that magically refilled at a rate of one gallon per week. That would be a great feature, but it wouldn't really change what you do with the car. It would mostly just mean spending less on gas over the lifetime of the car.
In the end, a car costs a lot of money and provides a couple square meters of usable space. Roofs of houses are a lot bigger and can supply the needs of a household, but if you're in the business of energy production and want to generate energy on the scale of a major power plant, it makes far more sense to use cheap land in sunny places away from cities.