Even railways from nowhere to nowhere often ended up being useful when the ends were extended to somewhere or when somewhere grew to encompass nowhere.
For example the Berlin Ringbahn was once some billionaire's toy but now it serves very useful traffic, as Berlin grew outwards to where the Ringbahn is.