This is getting into a discussion of Universal Basic Income, which I am a big fan of.
But I'd posit that salaries are not a zero-sum game, in the microcosm or the macrocosm.
Within a company each department head likely gets a certain amount of raises to distribute within their department, maybe enough to give most people X%, but also enough to give 2 or three 1.5X%. The company itself has a limited amount it can spend on labor costs.
Within a country there is the monetary supply. There is approximately $1.5 trillion physical currency in circulation. That equates to about $5k per person. Yes there is money that is not backed by physical currency, but the more of that you create (or the more physical currency you create) the higher inflation goes. If we want UBI then we need to back it with something. The Saudis backed it with their annual oil profits, Alaskans the same, and the Norwegians straight out created an investment fund from oil surplus profits. Getting to a workable UBI is not going to be a stopgap fix, and will likely take around 50 years to implement correctly.
It's doable from a technical perspective, in a number of ways. I worry about the political perspective. Our parties are divisive and one party can tear down any of the works of a past administration. So what is to prevent the UBI investment fund being repurposed, similar to Social Security's outcome.