A representational "democracy", compared to other systems, has the least potential for corruption.
If unions do in fact give workers more representation/power, than game theory says it is a worthwhile trade off, as we expect average worker gains to be net positive of any corruption losses.
In direct democracy, a decision still needs to be made on what to vote on. As an example, if you look at California propositions, these aren't necessarily all that well drafted. Often propositions are created by business interests and approved by people coming out of stores who aren't thinking very carefully about what petitions they sign.
And after that point, you're putting an algorithm is in charge of making the final decision. This isn't necessarily better than having a leader in charge, because the leader can maybe think of creative compromises and the algorithm can't.
If you study voting systems you'll see they all have flaws, and they are all very simple-minded algorithms compared to people. Whether they actually capture the "will of the people" is impossible to say since the "will of the people" isn't really a thing. There are just people with a lot of different opinions.
"We the people" is a founding myth, and it's our myth, but it's still a political myth similar to the divine right of kings, a way of justifying the rule of the many by the few. The leaders are not the masses, no matter what anyone pretends.
(I'm not saying I have a better idea, but let's not be naive about principal-agent problems.)