Lots of US companies will have factories in China, simply because it's cheaper to manufacture over there. Not only is labour cheaper, but there's easier access to the raw materials.
Manufacturing locally is better for goods which need a quick turnaround and is normally on a smaller scale, than in China.