i dont think capitalism is responsible for making people what to sexually harass people in the office. Nor do i think it's the cause of ubisoft execs slipping roofies into people's drinks. That's just scumbags being scumbags.The root problem, A.K.A. capitalism
Unionization might be the obvious answer, but unions also then to drive the cost of labor so high (not just saleries but insurances and other benefits) that companies can't sustain that. If developers unionize, then monetization of games will go absolutely skyrocketing to keep costs managable. Otherwise companies will drastically downsize or shift focus entirely.
Grocery stores have unions and more and more automated checkouts are popping up everywhere because they are cheaper than having actual tellers at the checkout lanes.
Unions are not the best answer.