These companies are cashing in on demand for AI cloud services and semiconductors.

Sticking with industry leaders that grow their revenue and profits over many years is how you can build wealth in the stock market. Some of the most promising opportunities right now are companies that enable the adoption of artificial intelligence (AI) across the economy.

Research from Morgan Stanley shows we could still be in the early innings of this shift, with corporate spending on AI expected to grow to roughly $10 trillion in the current cycle. Here are two stocks that can help you profit from this opportunity.

Microsoft logo.

Image source: Getty Images.

Microsoft

Millions of people use Microsoft (MSFT +2.00%) software at home or work every day. This puts it in a great position to monetize AI features across its products. The company’s cloud segment is evidence of this, with Microsoft Cloud revenue increasing 26% year over year last quarter. This shows AI services becoming a key driver of the company’s growth.

Given what’s at stake, Microsoft is investing in data center capacity and AI chips, such as the Maia 200 custom AI accelerator that powers the models behind Copilot. These investments should support growing demand for AI cloud services, with revenue from its Azure enterprise platform up 39% year over year in the recent quarter.

It is also integrating Copilot into high-value products that can command premium pricing, such as Microsoft 365 and GitHub. With that strategy, it’s no surprise to see revenue from productivity software and business processes up 16% year over year last quarter, with management seeing increasing contribution from Copilot demand.

Microsoft Stock Quote

Today’s Change

(2.00%) $7.86

Current Price

$401.53

Key Data Points

Market Cap

$3.0T

Day’s Range

$392.92 – $401.79

52wk Range

$344.79 – $555.45

Volume

2.3M

Avg Vol

30M

Gross Margin

68.59%

Dividend Yield

0.85%

The stock’s forward price-to-earnings (P/E) ratio of 25 looks attractive for a business that has consistently reported double-digit revenue and earnings growth. Its ability to monetize AI investments with Copilot and Azure makes Microsoft a solid investment.

Broadcom

When you see companies like Microsoft investing more in data centers, that is good news for Broadcom (AVGO +7.26%). Data centers need high-performance networking to connect large clusters of chips, and Broadcom has been a major supplier of these components for years.

The company’s industry leadership is evident in growing profits and high margins. Broadcom posted a 39% year-over-year increase in adjusted (non-GAAP) net income last quarter, reaching $9.7 billion. This represents a high margin on $18 billion in revenue in the quarter, which also grew 28% year over year. This growth was driven mainly by booming demand for Broadcom’s AI accelerators.

Broadcom Stock Quote

Today’s Change

(7.26%) $22.55

Current Price

$333.06

Key Data Points

Market Cap

$1.6T

Day’s Range

$316.36 – $335.00

52wk Range

$138.10 – $414.61

Volume

1.5M

Avg Vol

31M

Gross Margin

64.71%

Dividend Yield

0.73%

Broadcom’s profitability also supports a shareholder-friendly cash return program through growing dividend payments. Broadcom paid $2.8 billion in cash dividends in the fourth quarter, and it has consistently increased the dividend over the last decade. It paid out half of its trailing earnings in dividends last year, bringing the current yield to 0.73%.

The stock looks expensive on a trailing P/E basis, but that’s because Broadcom expects robust demand for its AI semiconductors. Analysts are forecasting 31% annualized earnings growth over the next few years. Using this year’s consensus estimate, the stock’s forward P/E of 32 looks reasonable and should allow investors to realize solid returns.