China to take countermeasures against U.S. entities