That's already coming to Germany, see https://de.wikipedia.org/wiki/Solare_Baupflicht. Not legislated in the whole country yet, but that's just a matter of time now.
Farm and pasture land shared with solar panels yield more than without. Wind turbines can also be placed in farm and pasture land, displacing very little production.
As I understand it, Germany already has a great deal of wind power installed.
From what I can find, the capital cost of a new nuclear plant is somewhere on the order of $6M-9M/MW.
On the other hand, a 3MWh grid battery from Tesla runs about $1M. So ignoring cloudy days and just considering providing power overnight (in the winter), you'd need about 14 hours of capacity, so about $14M to provide 3MW, or roughly $5M/MW.
So, in terms of initial capital cost, just the battery portion to handle the overnight gap in solar production would be roughly equivalent to the cost of nuclear, but of course that doesn't account for the cost of the solar panels, nor for the fact that there will be other periods when generation is low. (Although these can be partially dealt with by over-building the renewable generation and using wind as well as solar.) However, the other issue is that the lifespan of grid-connected lithium ion batteries appears to be about 5-15 years, whereas nuclear plants should generally last several decades at least.
So, batteries + renewables are more expensive in terms of capital than nuclear plants, which are themselves quite expensive, but I must admit I'm surprised that the difference isn't even greater. I expect part of the problem is production capacity. You can build a 1100MW nuclear plant, but I expect it would be nearly impossible to buy a 14GWh of grid batteries because the capacity to build them in that scale just doesn't exist, yet at least. Also, as others have mentioned, you'd need a lot of space.
There are other methods of storage that are used, pumped hydro being the most common in large scale, but requiring specific geography. There are other options like gravitational storage with shafts and weights or carts on tracks or what have you, but they're all expensive and/or difficult to scale.
For the forseeable future all cell production is going to go into cars because Tesla has fat enough margins to absorb increases in battery costs while utility scale storage can't.
Elon’s literal words mention this: https://www.utilitydive.com/news/musk-vows-to-accelerate-tes...
Practical alternatives to underground hydrogen include liquified air (also industrially useful after the tanks fill), anhydrous ammonia, underground compressed air (again, compressed hydrogen is even more useful), pumped underground hydro, pumped undersea hydro, iron-air batteries (which are extremely cheap, and safe) and even deep mine-shaft gravitational (again, also compatible with hydrogen, compressed air, and compressed hydrogen).
Underground hydro is even more attractive than the mountaintop variety because the head may be thousands of meters.