Well, the easy answer is that Germany and Denmark subsidise each passenger kilometre twice and three times as much, respectively (see the table).

They aren't really nationalised either, and their systems are certainly not as efficient as GB's. pic.twitter.com/nJTn7fM881

— Gareth Dennis (@GarethDennis) January 4, 2019