

It is actually even more stupid. If Country A invests into Country B, then Country A has a trade surplus with Country B. However it also owns the investments, which means profits from the investment in Country B should be send back to Country A.
That is exactly what happened with the US. They invest a lot abroad after WW2 and are now living of the capital they own abroad.
The German Uniper one is missleading. The Russian government seized the Russian assets in April 2023. So hard to argue it being a German company.