You don't always make money because you sell to a specific customer. Sometimes it's about support and network effect. Devices (Scanners, Printers, ...) are compatible with Windows and sometimes only Windows because that's what people use, NVIDIA drivers used to be Windows only because that's where customers were. Does Microsoft make money from these sales? No. Do they make money from having an ecosystem that everyone is supporting? Most definitely.