Microsoft, an early AI leader through its partnership with OpenAI, has been swept up in the broader negative sentiment surrounding software stocks.