This year betting markets were swamped, and continue to be swamped, by money supporting Trump. This year happened to also have a polling error that underestimated Trump's chances. Those two facts aligned together to form a situation where the betting markets seemed to better predict the election results than polls. However, based on one very strange election I wouldn't extrapolate out that betting markets are always better than polls.