The new 4,200-horsepower locomotives are expected to travel farther via electric power than the existing cars.