U.S. President Donald Trump signed into law two congressional bills that back protesters in Hong Kong and threaten China with possible sanctions for alleged human rights violations, prompting China's foreign ministry on Thursday to warn of firm counter measures.