Shares have slumped over the past month, as investors fret about lofty AI valuations and the threat posed by Google.