DB is still 100% owned by the federation, it's only organised privately. Trouble is they expected it to turn a profit, to do that DB had to run its infrastructure into the ground, invest abroad, get into fucking trucking, you name it. Don't get me wrong there's nothing wrong with operating rail/road interface warehouses, but when a rail company is building a logistics warehouse without rail connection you know something's deeply fishy. Meanwhile, the Autobahn network got plenty of tax money pumped into it. And those DB profits.
The failure is 110% political, decades of car-brained infrastructure ministers, "but won't someone think about the car producers and their workers". Bipartisan issue. In US terms: UAW and Blackrock vs. Amtrack. Guess who's winning the lobby battle, difference being in Germany people actually like trains.
Macron's foreign policy isn't left or right or centre it's French. It's actually quite exceptional for a nation's foreign policy, at least in its core aspects, the steady lines, doctrine and long-term strategy, to be partisan. France is all about strategic autonomy, and to make that more affordable they're pushing for European strategic autonomy, hence the constant heavily anti-Atlanticist streak.
And that applies to the US too, btw: Biden waged a trade war against the EU with the inflation reduction act. Tactics might differ, crassness differs, the core elements? Exactly the same.