First off, he's right about farmer destroying solar. There are big energy groups buying any farmland they can get cheap and putting Solar farms on them.
Locally there's a solar group that bought out leases for land that farmers were planting on that would otherwise be derelict. Even when the farmers offered to buy or lease the land at significantly higher value than what it's worth (or in one case, higher than what the solar company was leasing it for) the leasing company refused because the solar group offered stock in their company that if the solar farm is profitable would result in a solid revenue stream that would be sustainable for at least a few decades until the panels wear out.
The problem with this is that food demand is not getting smaller, and once you dedicate farmland for solar, it basically makes the land useless for anything but solar since the solar shade blocks plant growth and once the solar panels are degraded and/or the company goes under, now you have rows and rows of useless solar panels that were cemented into the ground as well as their wires and conduits (and possibly chemicals if batteries are involved) that you will absolutely have to find and remove at a significant cost in order to even attempt to return that land back into farm capable condition.
Meanwhile, Malls, Stores and Plaza's have these huge parking lots that you can easily install solar canopies in that not only shade the cars of customers and can be used to charge parked electric cars, but you immediately have an electrical customer in that Mall, Store or Plaza and the stores aren't going to care since they see it not only as a green thing, but as a customer service thing due to the shade.
Now to be fair I don't know if Trump is banning all solar or just farm solar, but it makes sense to ban farm solar to encourage more parking lot canopy solar if that is what he's planning. As for wind, I'm not sure why he's banning them other than because he doesn't like the look of them or he read that study from 50 years ago that says wind turbines kill birds (because wind turbines in the 70's moved at significantly higher RPM's than modern turbines) even though 1 solar thermal plant reportedly killed more birds and insects per year than all of the bird strikes on all modern windmills combined.