Probably by not giving people loans for houses, which would make them equally unaffordable for people, but in a different way.
A 400k house might instead be a 200k house, but you will never have 200k in cash compared to 20k for a down payment on a mortgage.