Shares of technology companies slid as traders fled risky niches of the stock market, fearing recession.