Americans still view real estate as an attractive investment, but rising prices are creating major barriers.