You missing a big point from 2016. Hillary lost due to social engineering hack behind that election. Social media cos were better prepared this time
And a portion of dem voters were pissed off about how Sanders was treated by the DNC, though I have no idea if that caused any meaningful portion to abstain or vote for Trump.