A.I. enthusiasm is responsible for the bulk of the stock market’s gain this year