Voting is just a tool. Also in capitalism, there are usually shareholders that vote.
Without state-supported property rights, society would self-organize in syndicalist structures, and workers would also vote on what to do with the surplus value of their production (reinvest in their own infrastructure or into something else, or allow higher wages, or improve their children's daycare, etc).