However, if the ratio of pay of a sales guy to an engineer gets distorted too much, no one will want to be engineer any more. If that was the case, technological advance will stagnate. Everyone will be fighting to get the biggest part of an ever decreasing pie, instead of actually creating value.
Programmers and salesmen deserve compensation proportionate with the value they provide. I am a programmer myself and believe that engineer-centric companies are usually better than companies with MBA management. The dynamics of each company vary -- my comment was merely in the vein of "why do people that provide little moral value make money?" They make money because they do things that generate money even if those things are of relatively little objective value.
Not really commenting on 'who deserves more,' but I just don't think that you're logic really stands up.