Non-railway predecessors of railway companies