Shelter (rent and "owners' equivalent of rent") are included in the CPI.
The difference in probabilities of future life outcomes for living in certain prosperous neighborhoods and cities and the compound effect of children growing up in those is very material nowadays. This especially effects how much more housing and land costs in certain cities, and how much people are willing to gamble on it by leveraging more to "buy in" to those probabilities of future success.