The reason for the Clinton failure seems tied to the larger failures which lead to the BREXIT, the growth of alternative, nationalistic parities across Europe and other issues which the various political, bureaucratic, media and academic classes seem unable to dampen down, explain or understand.
Thinking about voters as "cattle" to be prodded into the correct direction, being unable to come up with a coherent core idea to explain why people should bother to support you, or being unable to recognize that politicians and political movements are being buoyed up by millions of dissatisfied voters and taxpayers speaks to a very profound dysfunction of the various groups of people who presume to rule us or tell us what to do, how to think and act and so on.
We have seen glimmerings of this in Canada as well, from the Reform Party (probably 10 years too early) to the Ford brothers to current CPC leadership contender Kevin O'Leary posturing as a Canadian Donald Trump, so I would not be too quick to dismiss this as not being applicable to Canada, nor be too smug in assuming it can't happen here......