It's not so simple. The value of living in cities has increased because of economies of scale, population has grown and space in cities is limited. It's not like people want to build houses in the middle of nowhere. It does not follow that a positive return on real estate means that we're worse at producing shelter.