That's why they built a shit ton of strategic reserves for commodities and energy during the last few years (state and SOEs), buying from abroad (but they also have massive untapped unmined reserves inside of their own territory they didn't overuse so far, instead imported, just for this reason), elevated relations with Russia to the highest level, and became a dominant force in renewable energy technology production at home.
Since the USD is suffering from high inflation and long-term devaluation in comparison to China, it makes sense to buy more commodities and energy now, because those USD will be worth less in real terms in the future.
Plus there are now serious concerns about how the US can sustain current levels of budget deficits and national debt increases. If this doesn't change, then the USD will suffer a crisis of confidence, I reckon in 10-20 years.