China on Friday said it would take all necessary measures to safeguard its institutions and enterprises after the U.S. Senate passed a new law barring imports from the Xinjiang region unless businesses can prove they were produced without forced labour.