China buys a lot of of their current military from other countries, however that is changing as they seek to establish themselves. In 10-15 years they will probably be close to parity in technology, however nowhere near close in capability.
I'm not sure the US will allow China to close any type of military gap whether that's in technology or capacity. I worry the US will begin to view China as an existential threat over the next decade with a possible full scale war the decade after that.