Stocks end mixed as AI names keep Nasdaq, S&P afloat - TradingView