The stock market has boomed on AI euphoria, while the trajectory of the U.S. economy has been more tepid, economists said.