I really haven't seen much evidence that media professionals expressing shock at, for example, Brexit and Trump's election are engaged in some strong form of deception. There's a reasonable set of critiques about media incentives and behavior here, but I think this is a case where cynicism of this kind can obscure observable reality: The majority of people really didn't expect these outcomes.