Investor confidence has been shaken this month by a series of sell-offs in sectors including software, amid concerns over AI’s potential to disrupt certain industries.