Apple got snubbed by Goldman Sachs and fell behind Microsoft after a turbulent week