Most people don't ask for raises, or draw no consequences from being mad about not getting a raise. So after a few generations companies adapted and simply don't offer raises anymore as default.
People who really want to make more money, still get more money. Just not in the same job. While working less in their current job they start to look for other jobs with better pay, and since they have a current job they can proactively bargain for the pay they want. If they don't get it they just don't switch.
And last but not least, but I hope at least here people have noticed that now we have a method called Start-up. That is a way to get a lot of raises in a very short time frame as well. The only requirement is the cruel real life fairness of having a growing marketshare.
So we have everything, non-increasing incomes for lazy people, regular raises by job switching from dedicated people, and fast-lane high-risers for people who can really take a risk.
And of course we also have a problem. But that problem has nothing to do with any of the three things (raises, job offer bargaining, default pay): We have more and more jobs that are automated and replaced by machines. If you have autopilots in airplanes that do a well enough job, you simply don't really need the pilots any more, for instance. I honestly don't know if we can find a solution for that, or if we are heading for another period like feudalism where only a small percentage of people actually have a good life.
But, well, as long as we don't talk about that problem we certainly won't resolve it.