The latest artificial intelligence hype is powering a massive surge in the stock market on bets that a new era of innovation is nigh.