The best analogy I've come up with is that hiring software engineers is like hiring a bunch of book authors and asking them to write a NY Times bestseller. While your competitors are also trying to do the same.
If anything, I'd argue tech compensation isn't high enough. Software has unprecedented reach and (as a corollary) a winner-takes-all flavor. A team of a few hundred tech workers could build a business that brings the company in the order of a billion dollars in annual recurring revenue, justifying their own salary by several orders of magnitude. No other profession can do that. An accountant, plumber or lawyer can never create business value that is 1000x their own salary.