Engineers must calculate the most efficient routes over mountains, through densely populated cities and around water, all while accounting for the ecological and financial cost of such projects. Sometimes, the results are astonishing.