Energy companies behind the oil boom on the Northern Plains are increasingly turning to an industrial-age workhorse — the locomotive — to move their crude to refineries across the U.S., as plans for new pipelines stall and existing lines can't keep up with demand.