Some on Wall Street like to compare the current artificial-intelligence driven stock-market boom with the dot-com bubble of the 1990s.