Dick Morris knows much more about these things than I do. But I have read that the DNC rules say that should the nominee bow out, the person with the next-highest delegate count then gets the nomination. And that would be Bernie.
Of course, the DNC can interpret the word "gets" in the above to really mean "doesn't get".
I’m not aware of that DNC rule. Do you have a source?