Huang YiheFree sample

Chapter 1: The Pick-and-Shovel Rule

If you ask who the most watched AI companies are today, many people will think first of names like OpenAI, Anthropic, Google, Meta, Microsoft, or other companies that sit right at the front of the user interface. They release models, launch products, create new use cases, and keep showing up in the headlines. For ordinary users, the perception of AI usually starts with these companies: a chatbot, a code generator, an image, a video, an agent that can carry out tasks for you.

But if you ask a different question: in this round of the AI rally, which companies in the secondary market rose first and most violently? The answer is not exactly the same. The ones that the capital markets truly re-rated first were often Nvidia, TSMC, Micron, SK Hynix, ASML, and companies in the infrastructure chain such as data centers, power, cooling, and servers. Many of the hottest AI companies are not yet publicly listed on their own, while many AI stocks with huge gains are not even familiar to ordinary users.

This is a very important phenomenon in AI investing: the companies that get the most attention are not necessarily the first to earn profits; the products closest to the user are not necessarily the first winners in the capital markets.

In narrative terms, a technological revolution belongs to the application layer, but in terms of profit distribution, early on it often belongs first to the infrastructure layer. That is also the core issue this chapter will discuss: why does the money in AI investing first flow to the ones "selling shovels"?

The phrase "selling shovels" comes from a very classic investment metaphor. In a gold rush, the people who make the steadiest money are not necessarily the prospectors, but the people selling shovels, selling jeans, selling tools, and providing transportation and supplies. Prospectors have to gamble on whether they can find a gold mine, while the tool seller only has to gamble on one thing: will more and more people rush in to prospect for gold? As long as the gold rush continues, there will be demand for tools and supplies. As for which prospector actually gets rich in the end, that is not a question the shovel seller has to answer.

This logic does not exist only in gold rushes. In almost every major early-stage industrial revolution, you can see a similar structure: end-user applications are the easiest to see and the easiest to capture the imagination, but capital spending, profit growth, and pricing power often first concentrate in the infrastructure layer.

The same pattern across three industrial revolutions

Let us start with the railroad era.

In the second half of the 19th century, the United States entered a railroad frenzy. Around 1850, the total mileage of railroads in the United States was only about 9,000 miles; by around 1900, it had expanded to roughly 190,000 miles. In just half a century, America’s railroad network expanded by more than twenty times. Railroads changed the way cities were connected, changed the cost structure of freight movement, and changed the spatial pattern of the American economy. At the time, railroads were undoubtedly one of the most exciting industries.

If you only look at the industry trend, investing in railroad companies would seem like a very natural choice. Since railroads would transform America, wouldn’t buying railroad companies be the same as buying the future of America’s infrastructure? But history did not give such a simple answer. Railroad companies were, in fact, one of the most failure-prone businesses of that era. The reasons are not hard to understand: duplicate line construction, fierce regional competition, frequent price wars, heavy debt burdens, and then the financial panics of 1873 and 1893, which pushed many railroad companies into bankruptcy reorganizations in waves. Many investors bought in thinking they were buying a historical trend, only to end up facing overexpansion and a collapse in the capital structure.

The ones who benefited more steadily were the people providing steel rails and related infrastructure for the railroads. Andrew Carnegie is the most typical representative of that group. In his early years, Carnegie himself worked for the Pennsylvania Railroad, rising from telegraph operator all the way to management. He knew the opportunities in the railroad industry very well, and he also saw its vulnerabilities: railroad companies would compete with one another, borrow to expand, and go bankrupt because of economic cycles; but as long as the railroad network kept expanding, demand for steel rails would continue to exist.

So Carnegie did not bet himself completely on the success or failure of any one railroad company, but instead turned to the basic materials behind railroad expansion. What he had to do was very straightforward: lower the cost of steel rails, expand capacity, and improve quality consistency. In 1875, he adopted the Bessemer steelmaking process at a steel mill near Pittsburgh, gradually turning steel rails from an expensive and scarce material into an industrial product that could be supplied on a large scale. By the end of the 19th century, Carnegie Steel had become a core player in the American steel industry. In 1901, J. P. Morgan acquired Carnegie Steel for about 480 million dollars and merged it with other steel assets to form the United States Steel Corporation. The new company had capital of 1.4 billion dollars, making it the world’s first billion-dollar company. Carnegie retired as one of the wealthiest people in the world.

The railroad revolution did indeed transform America in the end, but in terms of investment results, many railroad companies did not become long-term winners. Instead, steel and related infrastructure suppliers shared in the more stable and more certain industry dividends. This example tells us: the railroad company is the application scenario, while the steel rail company is infrastructure. Investing in railroad companies requires judging which route, which region, and which group of managers will ultimately prevail; investing in steel rails is closer to betting on whether the railroad network as a whole will continue to expand. When the entire industry is still in the construction phase, the latter often has greater certainty.

Now look at the internet era.

From 1995 to 2000, the internet bubble formed rapidly. The companies that drew the most attention in that era were all kinds of consumer-facing websites and e-commerce platforms. Names like Pets.com, eToys, and Boo.com were once packaged as representatives of the new economy. They had enormous imaginative appeal: the internet would change shopping, entertainment, access to information, and business models. That judgment itself was not wrong; the internet later did indeed change the world. But the problem was that there were too many early-stage application-layer players, business models were immature, and burn rates were extremely fast. In the end, the vast majority of companies did not survive until the industry matured.

In the same period, the company that truly made a great deal of money and was pushed by the market to an extremely high position was Cisco. Cisco did not sell one particular website, nor one particular consumer application, but routers, switches, and networking equipment. These were the equivalent of the "steel rails" of the internet era. Whether Pets.com won or Amazon won in the end; whether portals won or search engines won; whether users visited news, email, forums, or e-commerce sites; as long as internet traffic kept growing, businesses, carriers, and data centers would need networking equipment.

Cisco did not need to predict in advance which website would become the final winner. It was betting on a deeper, clearer trend: the internet would become infrastructure, network traffic would keep growing, and businesses and carriers would have to build networks. At the time, that judgment was more certain than "which internet application will win." In March 2000, Cisco briefly surpassed Microsoft to become the company with the highest market capitalization in the world, with a market value of more than 550 billion dollars.

But the Cisco example has a second half, and that second half is equally important for understanding AI investing today. Cisco really was at the center of internet infrastructure, and the internet really was the technological revolution that changed the world. But at the peak of the bubble in 2000, Cisco’s valuation had already priced in too much of the future too early. After the bubble burst, Cisco’s stock price once fell more than 80 percent. Even though the company later remained an important networking-equipment company, investors who bought at the peak still had to wait an extremely long time to repair their paper losses. In other words, being directionally right does not mean the price is reasonable, and being right about the industry trend does not mean the investment result will necessarily be right.

Now look at the electricity era.

From 1880 to around 1930, the United States experienced a profound electric revolution. The end uses of electricity were abundant: light bulbs, streetcars, elevators, home appliances, factory electrification. Almost every field saw a large number of startups and competitors. Many companies once had imagination and were once seen as representatives of the new era, but a large number of application-layer companies ultimately failed, merged, or were eliminated.

The truly long-term beneficiaries are the companies that provide generators, transformers, transmission equipment, and system solutions for the entire power system, such as General Electric and Westinghouse Electric. The reason is simple: no matter which light-bulb company wins in the end, which streetcar company wins in the end, or which home-appliance company wins in the end, the underlying layer must still rely on power-generation equipment, the power grid, transmission and distribution systems, and power infrastructure. The power revolution was not the victory of one product; it was the widespread adoption of an entire infrastructure.

Railroads, electricity, and the Internet—these three industrial revolutions may seem to have taken place in different eras and different technological fields, but they share one common pattern in capital allocation:

In the early stage of an industrial boom, profits often flow first to the infrastructure layer, not the end-application layer.

This is the "pick-and-shovel" rule.

The Three Mechanisms Behind It

However, if you understand it only as a slogan, its value is not very great. The really important question is: why is this so? Why is it that in the early stage of an industrial revolution, the application layer is the easiest to see, yet the infrastructure layer is more likely to make money first? I summarize it as three mechanisms.

First mechanism: end applications are prone to falling into homogeneous competition.

Whenever a new technology appears, a large number of players will inevitably rush into the application layer. The reason is simple: the application layer is closest to the user, easiest to tell a story about, and relatively easier to enter. Building a website, building an app, or building an AI tool can all be launched quickly by a small team in the early stage. Especially in today’s AI ecosystem, open-source models, cloud services, APIs, development frameworks, and distribution channels are all becoming more mature. After the people in front have proven out the technical path, those behind can often build similar products at lower cost.

Low barriers to entry mean more players; more players mean easier product homogeneity; once products become homogeneous, competition shifts to price, subsidies, channels, marketing, and customer acquisition. In the end, unless a company can build very strong brand power, data, workflow integration, distribution entry points, network effects, or ecosystem lock-in, its profits will be squeezed rapidly.

This is not to say that there are no great companies in the application layer. The Internet era eventually gave rise to super-companies like Amazon, Google, Microsoft, and Meta, and in the future the AI application layer will certainly also produce super-winners. The problem is that in the early stage of an industry, investors find it very hard to determine in advance who will become the final winner in the application layer. What you see is one hundred companies all charging forward at once, and each one says it represents the future. They can all do demos, all can launch products, and all can repackage some workflow with AI, but the ones that truly survive to the end and possess a stable profit pool may be only a tiny fraction of them.

From an investment perspective, placing an early direct bet on the application layer requires judging, at the same time, the technology direction, product experience, user retention, business model, competitive landscape, customer-acquisition cost, and management team. All of these variables matter, and all of them are uncertain. By comparison, the infrastructure layer often only needs to answer one more basic question: will the entire industry continue to expand.

Second mechanism: infrastructure is naturally more concentrated.

The application layer can test and iterate quickly, but the infrastructure layer cannot. Infrastructure often requires capital-intensive assets, long cycles, accumulated know-how, supply-chain coordination, and continuous capital investment. You can use a few people on a team to rent cloud services and build an AI application in a few months; but you cannot use the same approach to make a high-end GPU, you cannot easily replicate HBM capacity, and you cannot establish advanced process technology, advanced packaging, or large-scale data-center capabilities in a short time.

Take a high-end AI GPU as an example. It is not just a chip issue. Nvidia’s advantage comes not only from the chip architecture itself, but also from the CUDA ecosystem, software toolchain, network interconnect, system-level solutions, developer habits, and deep coordination with downstream customers. For a competitor to challenge it, fabricating one chip is not enough; they must replicate an entire software-and-hardware ecosystem.

HBM follows a similar logic. The world’s major players are concentrated in the hands of only a few manufacturers such as Hynix, Samsung, and Micron. High-end HBM requires not only wafer fabrication, but also stacking, packaging, yield control, customer qualification, and capacity ramp-up. Even if demand is very strong, supply cannot expand as quickly as software.

Advanced process and advanced packaging are even more concentrated. AI chips depend on the most advanced manufacturing and packaging capabilities, and those capabilities are highly concentrated globally. EUV lithography machines, in turn, occupy a unique position at ASML. Further downstream, AI data centers also require servers, networking equipment, power systems, transformers, liquid cooling, racks, grid access, and stable energy supply. Behind each link lies complex engineering capability and capital expenditure; it is not something that can be duplicated by concept alone.

High concentration means low supply elasticity; low supply elasticity means that when demand suddenly surges, prices and profits are more likely to flow to these bottleneck links. If OpenAI wins, it needs GPUs; if Anthropic wins, it also needs GPUs; if Meta, Microsoft, Google, and Amazon keep investing in AI, they likewise need GPUs, HBM, servers, networking, power, and cooling. The greatest advantage of the infrastructure layer is that it does not have to bet on which end application will win; it provides the necessary conditions for all competitors. This is the core business logic of "selling shovels": providing tools to the entire gold rush rather than betting on only one gold seeker.

Third mechanism, and the most critical one in the AI era: algorithmic capability spreads, but compute cost is physically determined.

This is the first core framework of this book: algorithmic cost goes to zero; compute cost is physicalized.

Here, "algorithmic cost goes to zero" does not mean that AI inference has no cost, nor does it mean that model training costs nothing. On the contrary, every AI training run, every inference, every user question, and every generation consumes GPU, HBM, power, cooling, and data-center resources. What "algorithmic cost goes to zero" means is that model capabilities and software functions spread rapidly, and marginal prices keep falling in competition.

Models will be distilled, open-sourced, and copied; API prices will be pushed down by competition; things that only the most advanced models can do today may, after a period of time, be completed by smaller, cheaper models. Once a capability is proven valuable, it is quickly learned, imitated, integrated, and commoditized by other companies. For users, this is a good thing, because AI capabilities become cheaper and cheaper; but for many companies in the application layer, it means that simply relying on "we connected to a large model" or "we also built an AI feature" to charge money will become more and more difficult.

The marginal cost of copying software is extremely low. Once a function is written, it can be copied to countless users; once a model capability is open-sourced, it can be integrated by thousands of teams; once a product interaction is validated, many similar versions quickly appear. The most brutal and most fascinating thing about the software world is precisely how fast it spreads.

But compute cost is different. When Nvidia sells one more high-end GPU, it needs silicon wafers, advanced process technology, packaging, HBM, substrates, servers, networking, and power-supply systems. When Micron or Hynix sells one more HBM, it also needs wafers, yield, stacking, packaging, and capacity ramp-up. When a data center deploys one more set of AI servers, it needs racks, power capacity, transformers, cooling systems, land, grid access, and long-term capital. All of these exist in the physical world.

The supply in the physical world cannot be duplicated instantly like software. Costs can be lowered through technological progress, and capacity can be expanded through capital expenditure, but it takes time, equipment, energy, engineering capability, and supply-chain coordination. Precisely for this reason, when AI demand grows rapidly, the real constraint is not "who can tell an AI story," but "who is blocking the physical bottlenecks that cannot be quickly replicated."

Physical bottlenecks create scarcity, scarcity creates pricing power, and pricing power creates profit. That is the true underlying mechanism of the pick-and-shovel rule in the AI era.

Back to the AI Value Chain: Why Infrastructure Rises First

Putting this framework back into the AI value chain explains why, in the last round of the AI rally, infrastructure companies rose first.

The AI application layer has already begun to show a clear trend toward homogenization. When ordinary users use ChatGPT, Claude, Gemini, or other AI products to handle everyday tasks, they will find that there are of course differences among these products, but in many scenarios the gap is narrowing. Writing emails, summarizing articles, translating text, generating code, and organizing meeting notes are all capabilities that will become increasingly common. At the same time, model API prices are falling, open-source models are catching up, and application features are being copied rapidly from one another. Many AI application companies may face an awkward situation: user growth is very fast, revenue looks good, but gross margin, retention, customer acquisition cost, and competitive pressure are not stable.

The AI infrastructure layer is different. In high-end AI GPUs, Nvidia dominates; its advantage comes not only from the chips, but also from CUDA, networking, system solutions, and the developer ecosystem. In HBM memory, the major global players are highly concentrated, and for high-end products, yield, certification, and capacity cannot be built up in a short time. In advanced process nodes and advanced packaging, core manufacturers such as TSMC control critical capabilities. In the EUV lithography segment, ASML is the world’s most distinctive commercial supplier. As AI data centers continue to expand, they will in turn pull demand for power, transformers, cooling, liquid cooling, racks, and grid resources. Vertiv represents data center power and cooling infrastructure, while Constellation Energy represents the revaluation of stable, clean baseload power in the AI era.

These segments have one thing in common: they are not PowerPoint, not concepts, not traffic, but physical bottlenecks. They do not depend on whether any single AI application succeeds; they depend on whether the entire AI industry continues to expand. As long as demand for model training and inference keeps growing, as long as tech giants keep building data centers, and as long as enterprises keep embedding AI capabilities into business processes, these infrastructure layers will continue to be consumed, purchased, and expanded.

This is why money in AI investing flows first to the companies that sell the picks and shovels. Not because the market is short-sighted, and not because investors fail to understand the long-term value of the application layer, but because in the early stage of industry expansion, the scarcity of the infrastructure layer is clearer, pricing power is more direct, and the path to profit realization is easier to verify in financial statements.

The Three Boundaries of the Pick-and-Shovel Rule

But at this point, we must immediately add the boundaries. The pick-and-shovel rule is very useful, but it is not a universal formula. If you understand it to mean "as long as it is an AI infrastructure stock, you can buy it," then you will move toward the opposite extreme.

The first boundary: the pick-and-shovel rule is strongest only during the industry expansion phase.

When an industry is still furiously building infrastructure, the pick-and-shovel companies benefit the most. When railroads are still being built, steel rails benefit the most; when the internet is still being laid, routers and switches benefit the most; when AI data centers are still being built, GPUs, HBM, power, cooling, and advanced packaging benefit the most. But when infrastructure gradually becomes widespread and the industry moves from the construction phase into maturity, the distribution of profits changes.

In the mature phase, the application layer begins to build its own moats: brand, data, distribution channels, user relationships, network effects, workflow embedding, and ecosystems. In the early internet, many websites disappeared, but the companies that truly occupied the profit pools for the long term were Microsoft, Google, Amazon, Meta, Apple, and other application, platform, and ecosystem companies. Infrastructure still mattered, but it was no longer the only profit center.

AI will go through a similar process. Today we are in a phase of rapid AI infrastructure expansion, and the infrastructure layer still has a strong logic, but this window will not last forever. At some point in the future, when compute supply gradually becomes abundant, model capabilities gradually become commoditized, and infrastructure margins begin to decline, the AI application companies that truly own users, data, workflows, and ecosystem lock-in may become the new profit centers. Investors must understand this: the pick-and-shovel rule is a high-probability logic during industry expansion, not an eternal truth that applies across all stages.

The second boundary: buying infrastructure does not mean buying any infrastructure stock at random.

There is also huge differentiation within the infrastructure layer. Some companies truly bottleneck the system, while others are only adjacent; some companies have pricing power, while others are merely low-margin assemblers; some companies sit in the tightest supply-demand positions, while others are simply labeled by the market as AI-related.

Even when they are all called "AI servers," some companies control key design, supply chains, and customer relationships, while others are only assembly businesses with very low gross margins. Even when they are all called "power equipment," some directly benefit from data center expansion, while others are only briefly lifted by market sentiment. Even when they are all called "chips," some are core compute bottlenecks, while others are merely cyclical inventory rebounds. Even when they are all called "AI power," some have stable baseload power sources and long-term contract capability, while others only look related at a conceptual level.

So the truly effective judgment is not "is it an AI concept," but four questions: Is it in an irreplaceable position? Is its supply expansion difficult? Can it convert scarcity into price and profit? Has its valuation already pulled forward too much future growth?

The third boundary, and the most important boundary: valuation will fight back.

The pick-and-shovel rule tells us that in the early stage of industry expansion, profits often flow to the infrastructure layer. But it does not tell us that you can make money no matter what price you pay. One of the easiest mistakes for investors to make is to get the industry direction right but the entry price wrong; in the end, the result may still be extremely painful.

Cisco is the most classic case. In March 2000, Cisco was indeed one of the most central companies in internet infrastructure, and it truly stood at the forefront of an industry trend that was changing the world. The internet did not fail afterward, network equipment did not disappear, and Cisco itself did not become a company with no value at all. The problem was that the market valued it far too highly at the time, so highly that it had already pulled forward and spent many years of future growth. After the internet bubble burst, Cisco's stock price once fell by more than 80%; on a share-price basis, it did not break back above its March 2000 split-adjusted peak until December 2025, more than twenty-five years later.

This is the most brutal point in investing: you can be right about the era, and you can also pick a good company, but if you buy at an extreme valuation, you may still go through a very long payback period.

Industry trends explain why it matters; valuation discipline answers whether that price is worth the risk. Both are indispensable. Therefore, later in this book, we will not only talk about "which directions are worth paying attention to," but will also repeatedly discuss "what price cannot be paid." In AI investing, optimism is not scarce; what is scarce is optimism with boundaries. You must be able to acknowledge the enormous potential of the AI industrial revolution, and also acknowledge that any company, any link in the industrial chain, and any narrative can become a risk once the price gets too high.


Returning to the question at the start of this chapter: why did money in AI investing first flow to the companies that sell the picks and shovels? The answer can be summarized in three sentences.

First, in the early stage of an industrial revolution, the application layer is the easiest to make noise about and the easiest to commoditize, while the real winners are very hard to identify in advance.

Second, the infrastructure layer is often more concentrated, has higher barriers to entry, and expands more slowly on the supply side, so it is easier for pricing power to emerge there.

Third, the AI era is especially unusual because algorithmic capability can diffuse, software features can be copied, but compute, power, memory, packaging, cooling, and data centers are physical constraints that cannot be copied at near-zero cost the way software can.

So the first filter for AI investing is not which company has the biggest story, but what kind of cost structure it sits in: Is it facing software-like replication, or physical constraints? Does it have real scarcity? Can that scarcity be converted into pricing power? Can profits show up in financial statements? Has the valuation already pulled forward the future?

In the railroad era, steel rails were the shovel; in the power era, generation and transmission equipment were the shovel; in the internet era, routers and switches were the shovel; in the AI era, GPUs, HBM, advanced process nodes, advanced packaging, servers, networking, power, cooling, and data center infrastructure are the shovels that the market will revalue first in this gold rush.

But remember: the real meaning of the pick-and-shovel rule is not that we should blindly chase every infrastructure company, but that it helps us understand why money flows the way it does in the early stages of industry expansion. It is a map, not a get-out-of-jail-free card. A truly mature investment judgment always looks at three things at the same time: industry logic, the competitive landscape, and valuation discipline.

In the next chapter, we will widen the lens into a panoramic map and break the entire AI value chain into seven layers: energy, infrastructure, connectivity, compute hardware, compute services, models, and applications. Only by separating these layers can AI investing move beyond the level of concepts and become a real, usable map of the value chain.