Shares of technology companies rose sharply, helped by a recovery in chip stocks, as investors gear up for earnings from some of America's biggest tech companies.

OpenAI and Anthropic executives are sounding the alarm about the rise of cheap AI, particularly powerful new models produced in China, suggesting they will lead to a "dystopian" AI future and present unacceptable security risks without regulation. Some analysts who study the AI industry say the two companies, which are preparing for public listings in the next year, just want to eliminate the competition.

OpenAI is adding David Vélez, founder and chief executive of Nubank, a Brazilian digital services firm, and Robin Vince, the chief executive of Bank of New York Mellon, to its board of directors, the company said.

Changing tariffs and trade policies are setting off a race to build technology that can help companies navigate the complexity. Trade technology provider Altana said Tuesday it is acquiring Cervo AI, an artificial-intelligence platform that automates the process of writing customs entries.

Write to Patrick Sullivan at patrick.sullivan@wsj.com