I don't think the free-market-solves-all-ails response really works here. The issue is that the CEOs of these companies act together, essentially as a cartel. Sometimes formally [1], other times informally [2]. Labor (at least in the US) does not have anywhere close to such a level of organization, and so top-down mandates like this can impact a whole sector, without a clear place for you to go.
[1] https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...
[2] "You don't need a formal conspiracy when interests converge." - George Carlin