I say it depends on which decade of sci-fi you're referring to.
If you're talking about before the 1970's, then no. Early science fiction was mostly authored by engineers who were sold on the idea that the progress of mankind would have no limits. There were the occasional dystopian pieces like 1984, but the sci-fi elements in Orwell don't really contribute all that much to the themes explored in the plot. 2001: A Space Odyssey is the archetype of the era--stories about how mankind will thrust out into a completely sympathetic universe populated with enlightened progressive aliens. And this is emphatically NOT the world we find ourselves in as of 2019. We trusted that we would grow with technology to apply it to better and better ends. In reality, technology strains past the biological limits set for us by eons of natural selection. Children who have grown up with iPads and iPhones and iEverything are showing higher rates of mood disorders. We use the Internet to ruin people's lives for minor infractions with the kind of judgmental self-righteousness that would make the Puritans blush. We trusted that SETI would inevitably uncover evidence of alien intelligence, but here we are now facing down the dark implications of the Fermi Paradox.
If you're talking about after the 1960's, then yes. Starting in the 1970's you had a cynical reinterpretation of 2001: A Space Odyssey in the format of Alien: technology is run-down and of a mega-corporate origin, and the universe is a Lovecraftian horror-fest of ways to die horribly. Then, in the 1980's, starting with Blade Runner and Neuromancer, we get science fiction that actively speculates about the terrible implications of the Apple computer: smog-blanketed megapolises laced together by the Matrix, brought to you by Coca-Cola. This also is not quite our present in 2019. The pollution is not nearly so bad, for instance, and the evil mega-corporations actually turned out to be progressive-virtue-signaling Silicon-Valley organizations like Facebook and Google. Synthetic biological robots do not have to empathize with hypothetical tortoises. But the central theme of post-1960's sci-fi--the pessimistic view of technological progress--has come true. And it will only get worse as China makes the ethical sacrifices that we aren't willing to in order to charge ahead in biotech.