It seems they bought the plans for the chip and stole the foundry technology to make it from TSMC.
TSMC has plants in Shanghai and Nanking.