For several generations now, farmland has been seen as a stable asset class. For some investors, this type of real estate is a way to diversify their portfolios away from the vagaries of the stock market.