China and Japan are the top foreign holders of treasuries, yes, but the story is a little more complicated.
https://www.fiscal.treasury.gov/files/reports-statements/tre...
As of the end of 2020, there are 27.7 trillion dollars in outstanding public debt. 10.8 trillion is held by the Federal Reserve and the US government. About 7 trillion (no data since September) is held by foreign countries. Of those, China owns 1.07 trillion and Japan owns 1.29 trillion. I don't think it's reasonable to characterize the US as relying on China and Japan to cover those costs.
The other major (all holding > 100 billion) holders of US debt overseas, in order, are the UK, Ireland, Luxembourg, Brazil, Switzerland, Belgium, Taiwan, Hong Kong, the Caiman Islands, India, Singapore, Saudi Arabia, Korea, Canada, and France. This seems like a pretty good mix.
NB: Real yields on treasuries are all negative. People are buying treasuries despite knowing they will lose money in real terms. I don't think people giving the US free money just so they can hold t-bills is a sign of the weakness of the US dollar.
https://www.treasury.gov/resource-center/data-chart-center/i....