In a survey of different age demographics, real estate was consistently seen as the best investment.