Shelter played a key role in January’s higher-than-expected consumer price index. A dwindling supply of apartments could add to that effect.