Microsoft's market value has shrunk by $40 billion in the past week.