I have seen plenty of land foolishly wasted on single-use solar farms. That does not make it smart. In the future those will find themselves undercut by dual-use farms that continue doing what they did before solar was added.
Rooftops will not be much that.
Deserts are a particularly dumb place for solar farms, but ignorant investors love the idea, so lots of money is wasted on them.