China is importing fewer chips and more chipmaking machines