When Bruno Latour tried to argue that science was socially constructed, he wasn't trying to undermine it. He was trying to be challenge a certain naive understanding of the world in which science is clearly true, progress is obvious to all, and science/technology can be entirely divorced from the rest of society. In recent years, he has undertaken an active effort to shore up the authority of science, but this isn't him recanting. He always knew the scientific consensus was fragile.
Latour is just one example of many. The concept of performativity, Adorno and Horkheimer on the failure of the Enlightenment, Feyerabend's epistemic anarchism. All attempts to understand society in a rigorous way that were dismissed or willfully misunderstood because a naive narrative of progress meant not having to worry about those kinds of things. We were going to get ever closer to the truth and build better and better things, with no negative consequences. That was the promise.