Generating solar or wind power does not take the land out of use.
Both are compatible with agriculture. Agricultural productivity under partial solar cover is higher than without, for less water input. Pasture is probably the easiest to make compatible, and there is a very great deal of pasture, although little of it is irrigated. The prospect of less irrigation need will drive solar onto more intensive cropland.