Investors who piled into real estate could lose their retirements. That’s bad for Beijing.