Firstly, China doesn't overemphasize defence spending. Compare with other nations, China defence spending is just mediocre. Secondly, China pursues of self-reliance has been forced and it is not by choice. Access to the world supplies chain and making the best products is ideal but not attainable anymore due to the threat of a total ban.
Some fair arguments but China is far from that yet for reasons you already mentioned.