Shares in major technology companies linked to artificial intelligence fell again on Wednesday, with Nvidia and Anthropic down sharply in early trading. All three main US stock market indices declined, and the tech-heavy Nasdaq lost almost 4%.

The falls come amid concerns about the scale and sustainability of AI investment, which have rattled investors in recent weeks. Shares in Amazon, Tesla, SpaceX, Micrsoft and Meta were also lower.

The US government announced a raft of new tariffs on countries and trading partners on Wednesday as part of President Donald Trump's flagship trade policy. The value of major technology companies has sheltered the US economy from global economic shocks, including tariffs, but their share prices have been volatile in recent weeks in response to the US midterm elections and other events in the AI industry.

Nvidia's market value has fluctuated sharply following the resignation and subsequent reinstatement of its boss, Jensen Huang, after revelations of his extra marital affairs. Given Nvidia's role as both a supplier and financier to many firms involved in the AI rollout, its rocky fortnight has had a wider impact.

Investors have also reacted to Democrat gains in the US midterm elections. Many Democrats campaigned for tougher regulation of AI firms and even a moratorium on the development of new data centres. Questions remain about whether the huge sums being invested in AI will eventually pay off.

"It seems that these companies are trying to one-up each other on the amount of money that they're spending but you have to show that it's worth it, and that's where Wall Street is saying I don't know," said Todd Schoenberger, chief investment officer at CrossCheck Management.

Despite the concerns, AI investment is expected to exceed $1 trillion in 2026, according to investment bank Goldman Sachs. The bank said the technology will remain the "dominant driver of business investment growth" next year.

Nvidia shares fell 8% in early trading on Wednesday, extending Tuesday's slide as the boost from Huang's return eased. Anthropic shares continued to trade below the $83 at which they debuted last week, while Amazon shares fell by more than 5%.

The US stock market will close for Thanksgiving on Thursday and reopen for a shortened session on Friday.