I mean, this isn't by accident. Powerful people can advocate for their interests to change laws. It's the market ad extremum. It's only government inefficiency in the sense that lawmakers are vulnerable to influence, rather than bureaucrats imposing centrally planned government programs.
It appears you are unfamiliar with public choice theory[1]. It turns out you are correct in a theoretic sense that very rarely works out in practice. Blaming 'the many' for failing democracy might be satisfying, but doesn't do any good.