The stock market turmoil unleashed by the artificial-intelligence industry reflects two fears that are increasingly at odds.