For the vast majority of people who need to work to be able to afford rent/food/etc, they _must_ sell their labor somewhere, and that choice is additionally restricted by the skills and experience they have (you can switch careers, but an animator can't just pack up and become a programmer immediately - significant time/money is invested to gain the skills and/or experience and/or credentials needed for another job).
In aggregate, the labor market generally follows "higher skill (i.e. lower supply) job = higher wage", but zoom in on any smaller part and that is not guaranteed.
Was it also supply and demand when a bunch of silicon valley corporations decided to keep salaries low with secret agreements?
And to answer your question, no. It was a crime, and law enforcement put a stop to it.
The particularly nasty bit of collusion was between Apple and a few other companies (Google, Adobe, Pixar). This collusion only happened because of Steve Jobs's vindictive personality combined with interlocking directorates[2]: Jobs was on the board of Pixar, and Google & Adobe executives were on Apple's board. Despite Jobs's best efforts, the collusion fell apart after only 4 years because the companies kept poaching from each other. It was over a year later that the DoJ filed its first complaint.
Despite what most people think, it's really hard for companies to cartelize. There is a massive incentive for any one member of the cartel to pretend to collude while secretly not colluding. Typically, such arrangements fall apart unless there is a governing body that can sniff out and punish defectors.
1. https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...