Global spending on artificial intelligence is set to climb to $1.4 trillion in 2027 from $1 trillion in 2026 and $1.5 trillion in 2028, UBS projects, even as technology companies face growing pressure to show the spending produces sustainable financial returns.

The brokerage said about 80% of the projected 2027 spending would come from Alphabet, Amazon, Meta, Microsoft and SpaceX, whose cash generation and balance sheets provide substantial funding capacity.

UBS cautioned that rising investment does not necessarily guarantee corresponding profitability, particularly as competition intensifies and AI infrastructure costs remain elevated. It said AI is transforming industries and attracting unprecedented investment, but its financial returns remain uncertain. It added that investors would continue assessing whether technological progress, wider adoption and confidence in AI’s long-term potential could support further investment as costs rise and pressure mounts to demonstrate profitability.

The investment cycle could sustain momentum if companies increasingly embed AI into their workflows, inference costs decline and technological capabilities improve. Lower costs could encourage wider adoption, which in turn could attract additional investment and accelerate innovation.

The report also flagged risks from slowing cloud growth, weaker enterprise deployment and the possibility that falling AI costs could compress profitability for technology providers. Power, transmission and data-center shortages could delay deployment and monetization, while higher financing costs and execution risks could also affect the investment cycle.

“We expect AI investment to remain an important earnings driver in 2027, but rising investment and high expectations increase volatility risks,” UBS said. It said it would become concerned about a turning point if capacity expansion began outpacing demand growth, AI laboratory revenue growth slowed significantly or cloud utilization weakened.

UBS recommended retaining exposure to the AI theme while managing excessive concentration in portfolios. It favored financially strong companies with visible monetization opportunities that can fund investments internally.

Author