Tech’s biggest winners and losers in 2017