Amsterdam-based Takeaway.com and British rival Just Eat have finalised the terms of their deal to create a global food delivery company that can rival Uber Eats as the largest outside China.