Despite recent volatility, trends like artificial intelligence could fuel another strong year for the stock market.