Can you explain what you mean by this?
A scientist gets less money than a programmer because despite creating much more total wealth on average[1], nobody needs to pay to get a share of the results, thus nobody has much of an incentive to pay.
As a related concept, life ain't fair.
[1] Does he really? I'm going with the common opinion, but I'd love to see data on that.
Well, that's certainly one way of putting it. You could also say, "Academia has the potential to absorb about 10% of PhDs produced annually." That's fine for CS, where most people want to go into industry anyway and industry understands the product. Not so much for, say, physics, where more PhDs would rather stay in academia and you have to explain very quickly why someone should hire a PhD physicist before they slam the door in your face.
That of course does not mean that the job market for programmers will always be good, only that when it stops being, it will be for very different reasons.