Beijing’s tough curbs in 2021 laid waste to the once-booming industry, shaving over half of the market value of sector leaders like Tencent Holdings and NetEase.