I believe all European countries are required to have separate track and train operators for railways with some structure for competition in rail. It's just that most of them manage it better than the UK.
The UK telecoms industry was privatised and has ended up with BT Openreach operating most of the wires, leased out with local loop unbundling (LLU) to a variety of broadband providers. It works OK although not brilliantly.