"the completion of the railroad was the precipitating cause in the extinction of waterborne commerce"