Krispy Kreme and McDonald's are ending their collaboration for good, saying the deal was not profitable for the doughnut chain.