If Trump loses, it won't be by very much.  The public is so tired of the "Citizens United" business as usual ... the Enrons ... the military/industrial complex ... the unending wars everywhere, over nothing ... the party first mentality ... the Koch brothers, and etc ... that they would be willing to vote for a box of rocks right now.  Anything short of firing all our Nukes at ourselves, just to get some change in, to have a real say in our government.
Trump is certainly unqualified, a clown, a sexist, a male chauvinist pig, all of the above ... but he will disrupt the existing powers that be.  He will bring change.  And the public will risk whatever side-effects that come with him, simply for a chance at something, anything different.
Trump is the poster-boy for just how far our government has fallen, and failed us.