Just Eat Takeaway is selling Grubhub for a fraction of the billions it spent to buy the U.S. platform just three years ago.