Why do we need an IoT platform?

Why do we need an IoT platform if we can do a Point to Point integration between devices and ordering system in a retail context. For ex: If a coffee maker can expose the API's can it not be directly integrated to the Order Management System with some rules rather than going through IoT platform. I am struggling to understand the benefit of IoT platform