To compete with that the entire pipeline from raw materials through components and final product needs to be reproduced and its taken China 40+ years to build up to this capacity and capability.
I think its something more countries should consider and do for certain pipelines but we are in a world with vast international trade and the winner(cheapest) takes most of the trade so whatever it is needs to be worth while within country.