Sure that’s one of the keys, along with others such as technology, training, experience etc.
The US advantage in those areas are far ahead of the slight advantage China has in manufacturing.
We sink one ChiCom ship they build 5 more. They sink one of ours and we struggle to make a replacment. INDUSTRIAL BASE IS EVERYTHING.