I never thought I'd want to be in the home automation business, or the web cam business, but this kind of thing is just so offensive to me, that whenever I think about it, I want to do something.
Your revenue would come from selling increasingly inexpensive hardware and/or trying to sell your software to run in a consumer environment where you have very little control.
Very few companies can make money that way. Smartthings is backed by Samsung (800 lb gorilla). They appear to be playing a long game now because they provide cloud-backed service (for free) and cheap hardware. The strategy will very clear shift towards subscription service eventually, IMHO.
So long as the company does not go rogue and purposefully brick the devices, then the company could shutdown and the devices could still be usable. Further, other companies could provide remote management services for these devices. Being IoT devices, though, would make them still susceptible to security issues, but at least being able to use them on a segregated network could limit that from happening.
HOWEVER.... it DOES rely upon Smartthings "in the cloud". Every interaction with sensors is mediated through the cloud and if something goes wrong on their side (and it does) mayhem ensues.
FWIW, the developer platform consists of writing groovy scripts in their web-based IDE. The code runs on their servers, not your devices.
I basically say the same thing about every 'smart home' device.
I would love to be able to query my thermostat to find out when and how long it turned the heat/AC on and whatnot, but I only want it to talk to my local wifi and devices. I don't want it to use a cloud service at all for anything ever.
I don't have that option, so I don't use them.