Having a bunch of factory jobs replaced by a machine is an excellent example of this. People are blaming the management, but really it's the market forcing it. If the management here doesn't do this and their competitors do, they'll become uncompetitive and eventually go out of business.
The worst part is that there isn't an easy solution to this. You can try to re-train those workers so they can get new jobs, but eventually those jobs will be automated away as well. You can try to make laws to protect the jobs, but this makes it inefficient and prone to corruption.
I would extend the "automate" to more the more generalized "innovate".
They are also part of the (general) problem. And all of those jobs should also be targets of automation.
Where are you getting this data?
“San Francisco offers excellent benefits and the current starting salary is $87,230 per year. After seven years of service a Police Officer may earn up to $129,896 per year.”
https://www.sanfranciscopolice.org/your-sfpd/careers/sworn-j...
I have no idea what the story is with Paulo Morgado, but you simply cannot claim he's representative of all SF police officers.
That makes your comment seem pretty dramatically misleading... so how do you reconcile this with your comment above? Are you reconsidering your thoughts here? Doesn't the data you posted tend to not point at unions, or possibly point in the opposite direction, that unions aren't a factor?