China is redrawing the legal gray zone that underpinned its tech giants’ rise