China's population is a huge advantage right now, China has figured out how to create a mostly participatory economy so they have 10x the number of brains engaged vs. the US.
Each US citizen must be 10x more productive just to tie. If the US gov were smart, we would make it significantly easier for those with skills to immigrate, but unfortunately we seem to be set on doing the opposite.
On top of that, China is making smart educational choices like making basic comp-sci required. The US educational system is using decades old curriculum or just cancelling classes altogether.