But it does more generally reflect how society views technology as a whole too. People are generally a lot more pessimistic about new tech now, myself included, we've seen time and time again how its used to control or squeeze us. There actually was a Star Trek episode, "The Game" (season 5, episode 6) about an addicting device you could compare to smartphones (though the device in Star Trek doesn't spy on you to sell your every move to advertisers, missed a trick there), and that certainly wasn't supposed to be an optimistic look at technology, so you can see why things have gone the way they have.
Yeah for sure, science fiction used to be optimistic and utopian, like Planet of the Apes, Brave New World, Frankenstein, 1984, Earth Abides, The Martian Chronicles, A Canticle for Leibowitz, The Time Machine, War of the Worlds, and Island of Dr Moreau, We, Farenheit 451 ...