This isn't a particularly good analogy.
Microsoft didn't build those computers.
Microsoft didn't sell those computers.
Microsoft didn't ship those computers.
They merely licensed their OS to the manufacturers and/or end users.
The X Box would be a better analogy, and MS does get a 30% cut there.