The reason America has the most powerful military is that our economy can support it.
America's economy is in decline (reasons too numerous to go into here), while China's is rising. China is no longer a communist country. They are facsist.
Eventually, China's economy (and eventually its military) will surpass ours if things continue on the present course.