Another sudden reversal for high-flying artificial-intelligence stocks sent Wall Street reeling on Tuesday.