Billions have poured into AI, helping stock valuations soar, but the cracks are starting to show. Slowing adoption, surging costs and elusive profits are fueling warnings that the boom may be headed for a hard reset.