The workers have no explicit power.
Their implicit power is immense. But if the shareholders say one thing, firmly, the workers can't override. They can only try to make the shareholders think theybwill lose money.
In a democracy the workers are also the government, as are the shareholders. Who wins in a fight that they take up a level depends.
In the OpenAI case, 745 out of 770 workers signed a statement saying they will quit.
It's a bit more than just "try to make the shareholders think" if 96% of the company quits.