Investors Left Reeling as Software Giant Loses Ground Amid Artificial Intelligence Surge