Most of Europe pays less for a superior experience. Reasons: Europeans literally rebuilt their networks from scratch post-WWII, and used the chance to electrify and modernise most of them - whereas Britain, that was bombed much less, just kept using very old lines (most of them are STILL not electric, in 2018, which is absurd). That's investment failure #1, driven by short-sightedness.
Then you have the privatisation shenanigans from the 90s onward. This is investment failure #2: in order to reduce running costs and avoid having to deal with running trains, every few years taxpayers end up paying huge one-off sums that basically offset any potential savings. In the rest of Europe, despite attempts at privatisation, the old state-funded companies still dominate, achieving economies of scale and efficiencies that private competitors will never be able to match.
So maybe it would be worse with one or more private companies, but public companies are no silver bullet and will fail sometime.
Where did you get your info about train production? I would be interested how the figures vary from country to country.
But then there is some local knowledge to add, like the fact that pretty much all factories left are just tweakers for the internal market (narrow-gauging and so on), afaik the only one with significant production and occasional export is Bombardier in Derby - which got very close to shutting down around year 2000 and is basically run from Berlin anyway. Most European factories, despite some consolidation after the EU common market reached full gear, still pump out trains sold around the world - and then you have Japan and China that play on a different level.
Afaik the best trains in the UK are all bought from abroad at the moment. Things might change with the HS2 (high-speed) project that should be tendered out this year [1], but note how the main candidates are basically just reselling Japanese tech.
That could be the reason why flying is 4x cheaper than trains there.