The Panama Canal is not a very similar comparison. Machines were used, but predominantly, it was a whole ton of intellectual and manual labor. Tens of thousands of people died working in it. No one said "build me the Panama Canal" and then machines just did it.
[dead]
Take the Chunnel then (the tunnel between Great Britain and France): it was bored almost exclusively by giant machines, on a timescale (~4 years) that's likely ⅕ of what would have been without them, and with only 10 deaths out of ~14,000 workers. Yes, there was a lot of human intervention, but the literal bulk of it was done by machines.
In the same way, in practice nobody said "solve Riemann for me" and it just happened. Human mathematicians were likely in the loop at various points, feeding, verifying, and directing the agents.