A Canadian Pacific Railway Ltd. Train

A Canadian Pacific Railway Ltd. Train

Brett Gundlock/Bloomberg

Canada's two major railways are tapping into the growing demand for crude shipments amid pipeline bottlenecks and rising production in Alberta’s oil sands.