Imagine it's 1870 and you're investing in railways. The world is on the cusp of an enormous increase in demand for transportation. You buy land, lay tracks, build stations and invest in steel production.Then someone invents the airplane.I increasingly wonder if that's what's happening in AI.The breakthroughs in mathematics over the past few days are remarkable in their own right. They are the clearest evidence that super intelligence isn't Anthropic IPO hype. They point to broad, rapid advances.Further, a published look inside Anthropic shows there is no ceiling on AI. Moreover, it looks like we're are now turning the intellectual firepower of AI back on AI itself.People talk about the killer app of AI being discovering drugs or limitless power and that's true in the bigger picture. In the smaller picture though, there is $9 trillion being spent on AI infrastructure right now and the most-valuable investment in the next 10 quarters is a way to dramatically lower those costs, while still racing towards frontier AI.The bottlenecks right now are compute, compute infrastructure and power.If AI can solve decades-old mathematical problems and discover entirely new computational frameworks, why wouldn't it be able to discover radically more efficient ways of producing intelligence?In fact, that will be among its first tasks. There is no higher-return research project for an AI company than making AI itself more intelligent and more efficient. Every success makes the next discovery cheaper and easier. It can eliminate its own bottlenecks.That's recursive self-improvement and it introduces a dynamic that has no real historical parallel. The steam engine couldn't invent a better steam engine.There is an implicit contradiction in the AI investment narrative right now. On the one hand, we're told that AI will revolutionize medicine, engineering, manufacturing and virtually every other field of human endeavour. On the other hand, we're making enormous, decades-long infrastructure investments based on something resembling a linear trajectory of AI computing requirements.Why would AI revolutionize everything except itself?The transformer architecture was invented in 2017, ChatGPT 3 in 2022. The history of humanity's efforts to create artificial intelligence is remarkably short. The idea that we're anywhere near the optimal mathematical architecture for intelligence is unlikely.Perhaps we're doing the computational equivalent of trying to multiply large numbers using Roman numerals. Given some of the leaks coming out of the labs, I think that's what is happening and why markets are freaking out about chips, data centers and power investment. We won't need it, or at least not at the pace it's being built.The counterargument is the Jevons paradox and that cheaper intelligence will lead to more consumption of intelligence. I suspect that's true, but it's a question of magnitude. If AI becomes 1,000 times more computationally efficient, we need 1,000 times more equivalent workloads just to keep the existing infrastructure busy.I think this is increasingly what the market is wrestling with. It's not necessarily questioning the potential of AI but rather how many chips, data centres and power plants will ultimately be needed, and how much of the debt incurred to build them will go bad.I suspect many of the power plants still get built. Electricity is a commodity with plenty of alternative uses and a useful life measured in decades and governments now see the value in excess capacity. I'm considerably less certain about the economics of filling warehouses with specialized chips that could be rendered obsolete by a hyper-efficient models.The trouble is that it's very difficult to draw a line around the losses. There are semiconductor companies, equipment manufacturers, data centre developers, private credit funds, utilities and a growing ecosystem of companies whose valuations are predicated on the capital intensity of artificial intelligence.Moreover, we don't need an outright decline in demand for computing power for this to become a problem. We simply need demand to grow considerably more slowly than the infrastructure being built to accommodate it.The great irony is that the most bullish possible outcome for artificial intelligence — that it becomes capable of rapid recursive self-improvement — may also be one of the most dangerous outcomes for the companies financing its physical infrastructure.We're racing to build the railways at precisely the moment we are inventing the airplane.-------------------------Want to better understand what's driving price movements beyond traditional charts? Learn how to read buying and selling pressure with order flow trading. This article was written by Adam Button at investinglive.com.