Companies are buying houses at inflated rates with the expectation that cash will lose value due to further inflation. To me, this is the only explanation for mass-buying of homes at a premium price even when interest rates are high.
If rent prices go up faster than house prices, then you might as well buy at any price. Of course this assumes you can afford it.