Farmers are getting older because small-scale farms are disappearing. Agriculture is an incredibly hard business, and unless you have scale, one bad year will wipe you out. Now, those few that do have more land than some sovereign states and the machinery to work it are making some serious money, so working for them is a perfectly viable career strategy.