A new wave of US internet companies is succeeding in China—by giving the government what it wants