Thousands of US farmers are choosing solar energy to stabilize income and protect their land amid rising costs and declining markets.