There used to be a village of such dwellings. But, over the last few years, the others have been torn down to make room for a shopping mall, and an upscale hotel complex which is under construction… you can see one of the many boom cranes in use in the background of the picture.
The families living in the siheyuan have served the government in one function or another. So, at least until they pass away (which will hopefully be a long time from now) it should be safe from demolition.
btw, we had lunch in a restaurant located in the nearby mall; the meal was primarily of Western food.