China has imposed sanctions on six American companies and their directors for supplying weapons to Taiwan.