We have some exciting news to share! The Motley Fool UK has now become The Twelfth Magpie -- an independent, UK-owned company, led by our long-serving UK management team — Mark Rogers, Chris Nials and Heather Adlington. In practical terms, it’s the same team you know, now fully focused on serving our UK readers and members.

Just as importantly, our approach remains unchanged: long-term, jargon-free, and on your side. This site is our new home, and there will be extra tweaks made across the coming few days as we settle in. So if anything looks a little off, please bear with us!

The content of this article was relevant at the time of publishing. Circumstances change continuously and caution should therefore be exercised when relying upon any content contained within this article.

Are these the shares to buy for an AI world?

A lot of investors are worried about what AI might mean for their portfolio. This writer is looking for shares to buy that may benefit from the technology.

Young woman working at modern office. Technical price graph and indicator, red and green candlestick chart and stock trading computer screen background.

Image source: Getty Images

You’re reading a free article with opinions that may differ from The Twelfth Magpie’s Premium Investing Services. Become a member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn more, and get a free 'Best Buy Now' stock!.

Artificial intelligence (AI) has shot up the public consciousness in recent months. If AI turns out to be a big development, what are the shares to buy now for my portfolio – and which ones should I be wary of?

AI could be huge. Firms including BT have announced that AI could lead to computers taking over many roles currently performed by humans, while companies like Google parent Alphabet have seen their share prices ebb and flow, based on how investors perceive their emerging AI capabilities.

Should you buy Rolls Royce shares today?

Before you decide, please take a moment to review this report first. Despite ongoing uncertainties from US tariffs to global conflicts, Mark Rogers and his team believe many UK shares still trade at substantial discounts, offering savvy investors plenty of potential opportunities to learn about.

That’s why this could be an ideal time to secure this valuable research – Mark’s analysts have scoured the markets to reveal 5 of his favourite long-term ‘Buys’. Please, don’t make any big decisions before seeing them.

The importance of a moat

Legendary investor Warren Buffett believes that successful businesses need a competitive advantage. This helps separate them from rivals, just as the moat on a medieval castle was designed to make it more difficult for potential invaders to take over.

AI is a threat to the current model of many businesses – but it is also an opportunity, in some cases a massive one. A firm like Microsoft could do well by developing and selling AI technology, for example.

So as an investor, the question I am asking myself is what companies might see their moat widen thanks to AI – and which ones could see it shrink?

The AI threat

One example of a company I think might see its competitive advantage potentially reduced by AI is Pearson. The business includes a substantial education division, offering services like teaching and exams.

If AI makes it easier for rivals to offer such services without the human labour cost base of Pearson, that could lead to price competition. I think that could be bad for its profit margins.

But might the reverse be true? Pearson already has a brand, business model and network of locations. AI could possibly help it offer its existing service but with a smaller cost base, boosting profitability.

Finding investment opportunities

In other words, just because AI could potentially change how services are delivered in a given industry does not necessarily mean all companies that operate in that sector will suffer as a result.

In fact, some may do better. AI could allow them to offer a higher quality of service, cut costs, or both.

That explains why I am not approaching investing in an AI era with a mindset of fear. I am also not planning to invest in AI startups with unproven business models. Rather, I am sticking to my knitting. That means I am looking for shares to buy in companies I think could benefit from AI by using it to widen an existing competitive moat.

Business moats

Alphabet is one example from my portfolio. The share price was hurt last year by fears about how AI might impact demand for web searches.

But I think the reverse could turn out to be true.

Google aims to connect users with information they want. AI could potentially help it do that even more effectively, building customer loyalty and potentially generating new opportunities for profit.

A moat can give a company pricing power, helping it maintain profitability even amid competitive threats. I reckon that will continue to be the case, no matter how AI evolves.

Suzanne Frey, an executive at Alphabet, is a member of The Motley Fool’s board of directors. C Ruane has positions in Alphabet. The Motley Fool UK has recommended Alphabet, Microsoft, and Pearson Plc. Views expressed on the companies mentioned in this article are those of the writer and therefore may differ from the official recommendations we make in our subscription services such as Share Advisor, Hidden Winners and Pro. Here at The Motley Fool we believe that considering a diverse range of insights makes us better investors.

More on Investing Articles

Abstract 3d arrows with rocket
Investing Articles

3 space stocks to consider on the S&P 500 (and SpaceX isn’t one of them)

SpaceX may be the big name of the moment but it’ll be awhile before it secures an S&P 500 listing.…

Read more »

Aviva logo on glass meeting room door
Investing Articles

At less than £7, the Aviva share price looks very attractive right now. Here’s why

Mark Hartley outlines a 10-year dividend and buyback forecast that makes the current Aviva share price look like a bargain…

Read more »

Content white businesswoman being congratulated by colleagues at her retirement party
Investing Articles

Could a Stocks and Shares ISA eventually replace the State Pension?

Andrew Mackie explores whether a Stocks and Shares ISA could one day replace the State Pension and what it would…

Read more »

Front view of a young couple walking down terraced Street in Whitley Bay in the north-east of England they are heading into the town centre and deciding which shops to go to they are also holding hands and carrying bags over their shoulders.
Investing Articles

Up over 250%, are these AI names still among the top stocks to buy?

Shares in Arm Holdings and Marvell Technology have soared in 2026. Our writer explores if these large tech stocks are…

Read more »

Female Tesco employee holding produce crate
Investing Articles

Are Tesco shares losing their momentum?

Tesco shares have wobbled in recent days after a first-quarter trading update was met with a collective shrug in the…

Read more »

Rolls-Royce's Pearl 10X engine series
Investing Articles

Rolls-Royce shares are at it again!

Christopher Ruane thinks Rolls-Royce shares' strong recent performance, although not grabbing the headlines as much as before, are still noteworthy.

Read more »

Mother At Home Getting Son Wearing Uniform Ready For First Day Of School
Investing Articles

Most Britons miss out on the first 20 years of investment compounding. Here’s how a Junior ISA or SIPP can change that

Compounding is the secret to building wealth. And with a Junior SIPP or individual savings account, children in the UK…

Read more »

4 Teslas in a parking lot at a charger station
Investing Articles

I missed out on Tesla stock. So should I buy SpaceX?

Christopher Ruane missed out on the years of surging Tesla stock values, because he hadn’t invested. Could SpaceX offer him…

Read more »