Union.
This is the future for all of us, when programming becomes commoditized just as teaching has. When our salaries are pushed to the bottom. We are not owners, we are not capitalists, we are not bosses, we are people with a skill you can learn on the internet and a corresponding talent for it.
Either a) this will happen to us as programmers, b) we have credentialing and gatekeepers to keep supply low c) we have a union to collectively bargain, or d) radical changes in the government save us from this fate.
In the U.S. (d) seems impossible. Programmers as a group seem to be virulently opposed to (b). So choose, unions or barbarism.