Shares of technology companies fell, giving back some of the historic gains from the second quarter as volatility in the artificial-intelligence sub-sector continued.

Shares of technology companies rose as traders dived back into artificial-intelligence bets.

Shares of technology companies fell, giving back some of the historic gains from the second quarter as volatility in the artificial-intelligence sub-sector continued.