Hint: solar on farmland does not interfere with use as farmland. Look up agrivoltaics. Solar on pasture is even easier, and protects livestock from weather extremes.
Farmland is literally converting solar energy into sugars. It's natures solar plants. Sure, you can get a bit of shade for your cattle. But the hundreds of millions of acres used for crops are directly competing for sunlight with your solar cells.
You imagine that is so, but the science says otherwise.
In fact, most plants can only use sunlight for a few hours a day, and must then endure the heat for the rest of the day. A few crops -- wheat, corn -- offer slightly reduced yields when shaded, but many others -- particularly peppers -- yield better with partial shade. Even where yield is reduced, the extra year-round revenue and radically reduced water loss may even the score.