The approval, by the United States House of Representatives, of the bipartisan bill to force TikTok to cut its ties with ByteDance or accept the ban on performing in the country, generated a great political stir. China responded that it will take “necessary measures” to protect the firm.