Step one: Do something mildly skeevy that skims from the public weal, e.g. by using monopoly power to suppress competition (hurting the ability of the invisible hand to give hand-jobs to the rich) and thereby profiting more than an "honest businessman" would. Step two: take actions that will actually benefit the least fortunate on a massive scale.
More concisely, steal from the rich, give to the poor.
Bill Gates is Robin Hood. We who read HN are the rich from whom he stole. I used to mildly resent it, but now I only resent that he couldn't figure out how to do it without side effects like giving a cut to Steve Ballmer and giving Paul Allen the capital he needed to start Intellectual Ventures. Until those guys start Robin Hooding too, at which point I abandon all comprehension of which white collar bastards are actually bastards.