There was just a long Derek Thompson podcast with a Transcontinental Railroad scholar about this! (That's why I knew about it.)

The whole subtext of that podcast was how eerily similar the Transcontinental Railroad was to AI (as an investment/malinvestment/prediction of future trends).