S&P 500 föll för sjätte dagen i rad medan företag brottas med utmaningar inom artificiell intelligens.