It is absolutely bizarre, and I had a hard time believing it too, but it does seem to be true that many would-be Sanders voters voted for Trump.
I think what it comes down to is that most people of any political persuasion are basically politically illiterate and vote their feelings. Sanders and Trump are both:
* not Hillary Clinton;
* male;
* very different from the other options.
For some people, that's apparently enough.