About $357 billion of market value was erased, and Microsoft's stock suffered its biggest one-day decline in nearly six years.