IMHO just look at the stuff you care about and forget using proxies like GDP or market value etc. For example, US has the largest companies by market cap but they are excited to have Taiwan opening a plant in USA that will produce chips on a few years old tech when Taiwan and Korea have the cutting edge stuff.
Examples are numerous, it goes above and beyond everything. China is not behind US in AI, in fact in some areas US is already trying to catch up. Tesla has enormous market cap but Chinese brands already displaced them in actual product sales. Americans think that self driving cars will be ready to go mainstream soon when China already has those disrupting their taxi sector. Apple is about to become $4T company but Chinese and Koreans have all the cutting edge tech and Apple is faltering.
In military front USA boosts about how much money they spend on military only to find out that they are just paying more than they should and can't match Russia on ammunition.