Investors bought a record share of homes in 2021. See where.