I think the answer is that open source made developers more valuable because they could build you a whole lot more functionality for the same amount of effort thanks to not having to constantly reinvent every wheel that they needed.
More effective developers results in more demand for custom software, resulting in more jobs for developers.
My hope is that AI-assisted programming will have similar results.