On a Sunday morning in December, the future arrived in Torzhok, a sleepy town about 155 miles (250 kilometers) northwest of Moscow. It came in the form of an electric locomotive resembling a bright red caterpillar, chugging along through snow-covered forests toward the town of 50,000.