In the end, countries are nuanced enough to understand American political dynamics. They see Orbans, they see Le Pens, they see Trump, and they know what is behind it. I am quite sure that Ukraine did not expect anything else from the Trump faction of the Republican party. His victory was not unlikely and he is a simple creature. If different factions win, they will be eager to work with America again, with less trust and reliance.
Realistically, it is for the best if countries are resilient to US failure. It will make Americans generationally poorer, but the world will be better off for it.
You are just assuming Attention craving/seeking Trump types don't exist in every country in the world.
If Trump and the rest of his podcasting/influencer buffoon class, can rise to power in the US riding on what is valued by Attention Economics, then the same can repeat in every country in the world.
The root cause is not changing cause the Algos have created a game that favor those who love Attention and will do whatever it takes to get it and keep it.
Realistically, it is for the best if countries are resilient to US failure. It will make Americans generationally poorer, but the world will be better off for it.