Wall Street witnessed a dramatic reversal as fears of an AI bubble triggered a $2.7 trillion rout in U.S. equity markets.