President Xi Jinping’s rules for foreign technology companies will create a major rift between his country and the rest of the world.