Except that after those ten years, the value of the property will exceed $0. In fact it's rather likely to be worth more then than now, so it's actually an investment.
As Tony Soprano said, "buy real estate cus God ain't making any more". Demand is pretty certain to outstrip supply from here on out.