Ultra-fast fibre and 5G investment set to end network ‘black spots’ across British railways