It’s usually a lot cheaper and safer to condense all that demand into a purpose-built facility where they can hire an engineer to look after all the generation, have centralized container storage, backup parts, etc.
None of that prevents putting the panels or windmills on farmer land, though. You could imagine some sort of “get a discount on ammonia if we can put a solar panel in your field” scheme. Or, even more simply, put up your own panels, sell the power back to the grid, use that money to buy fertilizer from the factory buying your power off the grid.