You couldn't do your work without your keyboard. Why doesn't your keyboard's designer deserve a share, too? What about the EE who designed the CPU in your machine? The physicist who came up with the process to manufacture the CPU? The mechanical engineer who built the machine that implements that process? The chemist who invented the solder that connects it all together?
Every single one of those people gets paid less than the programmer, their work affects millions, and without them, the programmer could not affect the same number of people or indeed could not work at all. So why should the programmer get all the cash?
(This is kind of a strawman argument, and is meant to be a little provocative. There are some pretty obvious holes in it. But I do think it is a real argument and you cannot dismiss it entirely. There is something here.)
The companies producing chips do make a lot of money but nothing compared to e.g. a $5000 lathe that only does one job.
Some developers are. Most aren't. If you work in a startup, or on some new project within some big company, you are very likely to be producing vaporware that will impact zero users, either because the software is bad or because of some issues in marketing or management beyond your control. In either case, your real economic productivity is negative.
Programming at a high level which gets good money is hard. It's hard to reach that level, it takes lots of time learning, reading and practicing, it's hard to do the work. Also many programmers work more than 40 hours weeks.
If a good programmer helps a company win a few millions per year or he helps the company to make economies of few millions per year, then he deserves a share of those money.
The demand is larger than the supply and it is likely to stay so since all sectors of the economy demand more automation and not many people like to code or are willing to become programmers.
The "winter of programming" might never come. Even if it comes it is likely that won't happen during our lifetimes, even if we live a lot.
People said long time ago that software is a fad or a bubble that will burst. Still software continued to rise year after year.