I'm no CPI expert, but I don't think this statement is really accurate.
Rent is including in CPI; home prices are not. See https://economics.stackexchange.com/a/4779. The sidebar should provide links to multiple other questions asking why that is the case.