That’s the basic model for the XBox with Microsoft selling it for a loss at the beginning and making it up from a cut of software and peripheral sales.
I'm curious why the downvotes. To be clear, I searched through some microsoft financial info to try to figure out what app store revenue is, but I couldn't find the number. It's very genuine curiosity.