The computers inside modern trains are already doing much of the driving. At trainmaker Alstom’s factory in Derby, engineers ...