Microsoft (MSFT.O) on Thursday briefly overtook Apple (AAPL.O) as the world's most valuable company for the first time since 2021 after the iPhone maker's shares made a weak start to the year on growing concerns over demand.
Microsoft's shares have risen sharply since last year, thanks to the early lead the company has taken in generative artificial intelligence through an investment in ChatGPT-maker OpenAI.
Microsoft's stock closed 0.5% higher, giving it a market valuation of $2.859 trillion. It rose as much as 2% during the session and the company was briefly worth $2.903 trillion.
Shares of Apple closed 0.3% lower, giving the company a market capitalization of $2.886 trillion. Microsoft and Apple have jostled for top spot over the years.
Microsoft has incorporated OpenAI's technology across its suite of productivity software, a move that helped spark a rebound in its cloud-computing business in the July-September quarter.
Apple, meanwhile, has been grappling with weakening demand, including for the iPhone, its biggest cash cow.
Demand in China, a major market, has slumped as the country's economy makes a slow recovery from the pandemic and a resurgent Huawei (HWT.UL) chips away at its market share.
Shares of Cupertino, California-based Apple have fallen 3.3% in January as of the last close, compared with a 1.8% rise in Microsoft.
Both stocks are expensive in terms of their share price-to-earnings (PE) ratio, a common method of valuing publicly listed companies.