Just move some defence budget into the rail network.
The rail network should be a service not a for profit organisation