That article didn't touch on what happened before JGR/JNR. Prior to railway nationalization around 1906-1910, most lines beyond Tokyo-Osaka were built and owned by private companies. This includes Sanyo Main Line (previously built and owned by Sanyo Railway, not to be confused with today Sanyo Electric Railway), and Tohoku Main Line (previously built and owned by Nippon Railway).