The pandemic has slammed some of the major property types, but changes that Blackstone Group Inc. made to its real-estate portfolio over time have helped the investment firm navigate through the fallout.