Platforms like DoorDash act as a middleman between restaurants and their customers. AI-based ordering could reshape the industry — if customers and restaurants get on board.