How to Invest in Canadian AI Stocks for Long-Term Gains

Investing in AI stocks could be the key to capitalizing on the next transformative technological wave. They can generate long-term gains.

Key Points
  • Celestica is positioned for medium-term gains from the AI boom, driven by its involvement in manufacturing Ethernet switches and ASICs, with growth expected to normalize as AI infrastructure matures, offering early opportunities in hardware supply.
  • For long-term AI growth, Shopify and Hive Digital Technologies exemplify innovative uses of AI in e-commerce and cloud computing, respectively, with Shopify enhancing merchant reach and Hive expanding high-performance computing services, while dividend investors might consider facilitators like TC Pipelines and Canadian Utilities for future cash flow growth from AI-driven energy demand.
  • 5 stocks our experts like better than Celestica.

Everyone is talking about the artificial intelligence (AI) bubble, with some fearing it and some embracing it. Bubble or no bubble, AI is going to alter the way we live in the next 15 years, as the internet did. Many investors are using the 2000 dot.com bubble to map the immediate risk of a crash. But if we look at the evolution of the internet, it has created trillion-dollar companies. And these are not those who provided the hardware for the internet, but those who tapped its power to offer conventional services globally. AI also presents a similar long-term growth opportunity.

chip glows with a blue AI

Source: Getty Images

AI stocks for medium-term gains

When it comes to AI, the first Canadian stock that comes to mind is Celestica (TSX: CLS), which manufactures Ethernet switches for Broadcom and servers for data centres. Celestica’s stock has rallied 2,400% since June 2023 and could continue to rally as the Ethernet switch market is expected to grow at a compounded annual growth rate (CAGR) of 30% by 2029.

Celestcia is tapping the US$50 billion addressable market of high-bandwidth Ethernet switches by introducing a 1.6 Terabit switch in 2025 after introducing the 800-gigabit-per-second (Gbps) data centre switch in 2024. It plans to scale to 3.2Tbps and above. It is also tapping the custom application-specific integrated circuit (ASIC) market, which is expected to grow at a CAGR of 54%.

However, Celestica’s growth could normalize in the next five to seven years, once the base network infrastructure is in place. The long-term growth will come from upgrade cycles, as it happens for Intel and other chip companies.

Which AI stocks will generate long-term gain?

For long-term growth, you have to think about how and where artificial intelligence will be used. For instance, Amazon, Microsoft, and Facebook were the biggest beneficiaries of the internet age. They used the internet to create e-commerce, cloud, and social media applications.

Shopify (TSX: SHOP) is using AI tools to enhance e-commerce reach. It has partnered with OpenAI to enable merchants to sell items on ChatGPT. Only looking at the AI-driven traffic, it increased sevenfold since January, and AI-based orders rose 11 times.

However, AI is still a small portion of Shopify’s revenue and volumes. It could benefit from the growing adoption of AI, as Shopify will use AI as a tool to sell goods and services. The medium term may not see any AI-driven rally, but the rally would likely be gradual and reflected in earnings.

While Shopify is the e-commerce opportunity of AI, Hive Digital Technologies (TSXV:HIVE) could be the cloud opportunity of AI. It is building high-performance computing (HPC) data centres, which it will lease to companies. Hive is optimistic about growing the BUZZ HPC business sevenfold from US$20 million in 2025 to $140 million in 2026. This will be a high-margin business with an anticipated operating margin of 80% after deducting electrical and data centre costs.

Hive could see volatility in the short and medium term as more than 95% of its revenue still comes from Bitcoin mining. As the revenue contribution of BUZZ HPC grows, the share price will grow, and this growth will be stable.

Facilitators for dividends

If you want to tap the dividend opportunity AI is bringing, look to invest in AI data centre facilitators. AI data centres need significant electricity, and most of it is coming from gas-fired power plants. TC Pipelines and Canadian Utilities are tapping AI power needs with their gas transmission and electricity supply, respectively. BCE and Telus are tapping the AI opportunity to provide digital solutions to enterprises.

The initial investment in creating the AI infrastructure will stress their finances and dividends in the short term. However, this infrastructure will generate significant cash flow in the long term, enabling these companies to accelerate dividend growth.

Investor takeaway

The short-term AI opportunity is in hardware, as there is strong demand for it from those building AI infrastructure. The long-term opportunity will come from those using the AI infrastructure to scale traditional businesses.  

The Motley Fool has positions in and recommends Shopify. The Motley Fool recommends Amazon, Celestica, Intel, Meta Platforms, Microsoft, and TELUS. The Motley Fool has a disclosure policy. Fool contributor Puja Tayal has no position in any of the stocks mentioned.

More on Tech Stocks

The RRSP (Canadian Registered Retirement Savings Plan) is a smart way to save and invest for the future
Dividend Stocks

Can You Have a TFSA, RRSP and FHSA at the Same Time? Yes. Here’s How They Fit Together

These three accounts can work together, with the FHSA serving a home purchase, the TFSA offering flexibility, and the RRSP…

Read more »

A robotic hand interacting with a visual AI touchscreen display.
Tech Stocks

BlackBerry Stock Jumped 8% On Tuesday: What’s Going on ­– and Is It a Buy?

A growing QNX royalty backlog provides a solid base for future growth and is likely to support BlackBerry’s business.

Read more »

A shopper makes purchases from an online store.
Tech Stocks

What Investors Need to Know About Owning U.S. Stocks in a TFSA

Do you own U.S. stocks in a TFSA? Learn how the 15% dividend withholding tax works, why Amazon pays none,…

Read more »

The virtual button with the letters AI in a circle hovering above a keyboard, about to be clicked by a cursor.
Tech Stocks

I’d Keep Constellation Software Stock Despite its 3% Organic Growth: Here’s Why

Constellation Software's acquisition strategy has driven the company's success. The growth runway remains strong.

Read more »

data center server racks glow with light
Tech Stocks

AI Data Centres Need Power: This Canadian Stock Just Won a 1GW Contract

Enerflex has landed substantial data centre equipment work. The opportunity now depends on what reaches shareholders after delivery.

Read more »

man makes the timeout gesture with his hands
Tech Stocks

The Tax Rules Canadians Should Know Before Starting a Side Hustle

A side hustle can fund investments, but taxes, business expenses, and sales-tax obligations determine how much money is actually yours.

Read more »

atomic particle
Tech Stocks

This TSX Tech Stock Trades About $1,000 Below Its Consensus Target

Constellation's consensus target sits about $1,038 above its dated share price, while acquisition-driven growth determines whether the optimism is earned.

Read more »

The letters AI glowing on a circuit board processor.
Tech Stocks

Celestica Raised Its 2026 Revenue Outlook to US$20.5 Billion: I Think the Stock Is a Buy Now

Here’s why Celestica’s growing role in AI infrastructure and its recent pullback make it one of the top Canadian stocks…

Read more »