Gates is actually a perfect example. Name something that he coded himself. Gates didn't write DOS, he bought it.
Microsoft is built on the leveraging of property rights, and it grew by plagiarism and theft and anticompetitive practices. His stock is worth so much because it represents ownership of the programmers at Microsoft. If Microsoft didn't own their work the company would be worthless.
You think Gates alone could write Office 2010 or Windows 7? Get a clue.
The source of disagreement seems to be that you don't believe that anyone has the right to property. I disagree. If I have no right to keep what I've earned, then I will be perfectly happy to sit on my ass and do nothing.
I also would be perfectly within your framework to walk into your house and fall asleep on the couch watching your TV. When I arise, I will crawl in bed between you and your wife. What is "yours" isn't really yours, is it? You have no right to those ill-gotten gains. What's yours is mine. After all, you couldn't possibly complete whatever product or service you are remunerated for without the aid of thousands or millions of other contributors.
In my framework, people agree what their time and effort is worth. People invest themselves in order to reap the benefits of their labor. Virtually no product or service can be rendered in isolation. No one person could code Windows 7. No one person could design a modern computer. No one person could even create a cell phone. But there is value in the design of each component, producing that component, assembling that component, and the software to bring it all together. I develop bespoke instruments "from scratch," including designing the hardware, writing the control software, and physical assembly. I can charge a huge markup (200-400%) for these devices because of the value I add through my expertise as a designer. I buy products from others and turn them into something far more valuable than those products are by themselves. I compensate TI for their microprocessors. I pay another company for their control system. I pay a shop to machine parts. I pay for custom-printed circuit boards. I pay to license software. I pay for these things because it's not worth my time to do them on my own, because I can't be an expert in each of these areas, because it's simply infeasible. In the end, the markup pays for the value I add over and above the value of the individual parts. If this markup wasn't worth it to the end customer, they are free to pay all of the suppliers for these individual parts and try to build it themselves. They don't because their time is better spent on other things.
If I can convince someone to work for me for $20/hour and I can turn their labor into $500/hour for myself, then who is being hurt? The worker wouldn't have accepted that wage if they could make more elsewhere, so that must be what their labor itself is worth. The remainder is value that I somehow add, whether it's through marketing, salesmanship, packaging, or what have you. Some skills absolutely are more valuable than others, and society votes with its dollars to determine which skills those happen to be.