The AI share sell-off: 3 ASX stocks I'd buy while investors are nervous

Billions are being spent on AI infrastructure, and I think these businesses could benefit as that investment continues.

Artificial intelligence (AI) shares have been under pressure recently, with investors becoming increasingly concerned about the enormous amount of money being spent on data centres and computing infrastructure.

And I can understand why. Building AI infrastructure is expensive, and there's still uncertainty about how quickly companies will generate returns on those investments.

However, I believe the long-term growth opportunity remains enormous.

And there are three ASX shares I'd consider buying while investors are nervous.

Two woman holding a tablet and clipboard examine a server rack in a data centre.

Image source: Getty Images

Goodman Group (ASX: GMG)

My first pick is Goodman, which I think is exceptionally well-positioned to benefit from growing demand for data centres.

One of the biggest challenges facing the industry is securing suitable land and sufficient electricity to operate these enormous facilities.

Goodman doesn't have this problem. The company already owns valuable sites across major global cities, many of which are suitable for data centre development.

It has built a potential data centre power bank of approximately 6.6 gigawatts, including 3.6 gigawatts of secured power. I believe that's a valuable position to occupy as technology companies compete for access to suitable locations.

And Goodman is already turning these opportunities into earnings. In FY26, its operating profit increased 15.7% to $2.67 billion, supported by its expanding data centre development business.

I think Goodman has an excellent opportunity to become a much larger data centre developer over the coming decade.

The shares carry a premium valuation, and development delays are a risk, but I'd happily buy for the long term.

Megaport Ltd (ASX: MP1)

Another ASX AI share I'd buy is Megaport, which I believe could be one of the biggest beneficiaries of growing investment in AI infrastructure.

The company originally built its business around helping enterprises connect to cloud providers and data centres. However, its expansion into computing infrastructure through Latitude.sh has opened up another growth opportunity.

Megaport is now supplying the computing power and infrastructure that customers need to run AI workloads. And demand appears strong.

In September, the company announced almost $1 billion in additional AI infrastructure contracts, taking the total value of strategic contracts announced since April to approximately $2.3 billion.

These agreements are expected to help lift pro forma annual recurring revenue (ARR) to around $1.1 billion once the contracted services are deployed. I think that's impressive progress.

The challenge will be converting those contracts into profitable revenue while managing the enormous investment required in GPUs and other equipment.

However, I believe Megaport could become a much larger business if it executes its strategy successfully.

NEXTDC Ltd (ASX: NXT)

My final ASX AI share to buy is NEXTDC, which has experienced significant share price volatility recently.

The company suffered a major sell-off in October after electricity supply delays at its M3 Melbourne facility forced management to cut FY27 earnings guidance.

That was a significant setback, and investors are understandably concerned about further delays and development costs.

However, I think the longer-term opportunity remains attractive. At the end of FY26, NEXTDC had approximately 740 megawatts of contracted capacity, but only 175 megawatts was generating revenue.

I believe bringing the remaining capacity online could support a major increase in earnings over the coming years.

And there has been an interesting development. Goodman and Digital Realty (NYSE: DLR) recently acquired a combined 9.9% stake in NEXTDC.

I think this demonstrates that experienced data centre investors recognise value in NEXTDC's assets.

I'd consider NEXTDC as a relatively high-risk investment because of what has been going on, but I believe the potential rewards are considerable.

Foolish takeaway

I think the recent AI sell-off could create opportunities for investors willing to look beyond short-term uncertainty.

Goodman, Megaport, and NEXTDC each have the potential to benefit from growing demand for computing infrastructure.

And while their risks differ, I'd be happy to buy all three ASX AI shares with a long-term investment horizon.

Motley Fool contributor Grace Alvino has no position in any of the stocks mentioned. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Goodman Group. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has recommended Digital Realty Trust. The Motley Fool Australia has positions in and has recommended Goodman Group. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips.

More on AI Stocks

A concerned man looking at his laptop.
AI Stocks

What on Earth is going on with the NEXTDC share price this year?

Shares have gone from crashing to soaring in a matter of weeks. I've been looking at what comes next.

Read more »

Two woman holding a tablet and clipboard examine a server rack in a data centre.
AI Stocks

Would I buy NEXTDC shares after its 50% jump?

Two major data centre operators have made a surprise move involving NEXTDC. Here's why I think investors should pay attention.

Read more »

IT technician works on a laptop in big data centre full of rack servers.
AI Stocks

5 reasons to buy NEXTDC shares this month

The shares have fallen sharply, but I think the company's contracted demand and growth opportunities could reward patient investors.

Read more »

Man looking at his tablet in a data centre.
AI Stocks

Where could Megaport shares be in 12 months?

The company has secured some enormous contracts, and analysts believe there's plenty more growth to come.

Read more »

IT technician and young female intern walking next to sever racks in a data centre while using a laptop.
AI Stocks

Up 10%! Does today's big news make NEXTDC shares a buy?

After last week's enormous sell-off, I look at whether today's announcement could help restore confidence in the business.

Read more »

Engineer in sterile coverall holds microchip.
AI Stocks

Megaport shares have rocketed 171% since April: Are they still a buy?

I think Megaport shares could climb even higher. But by how much?

Read more »

Woman analysing data.
AI Stocks

Are NextDC shares 'incredibly cheap' after the sell-off?

I take a closer look at whether NEXTDC’s discount to asset value has become too large.

Read more »

Sad man sitting at desk and grabbing his head as he looks at a laptop.
AI Stocks

Should I buy NEXTDC shares after today's 45% crash?

The outlook has changed dramatically, so I wanted to see whether the shares are still worth buying.

Read more »