This isn't a technology problem, really. It's a problem of corruptible humans. In US elections, there are billions and even trillions of dollars at stake. Observe the grifting being done by the current administration. Thus, humans are extremely incentivized to corrupt the process. Technology just makes the corruption easier. Technology enables the grifter.
It does! Tech creates an abstraction layer which commonly is referred to, in my experience, as the dynamic term, "disruption".
This complicates a formerly intuitive subject, introducing radical change hidden within an often literal black box .. and nowadays that box is in 'the cloud' .. making it difficult for humans to retain a mental model, which can then reduce the sense of trustworthiness of that subject!
Corruptible humans are here to stay, forever. We are alive until we are not, and we are a successful species, so we "get it done, whatever it takes" in order to survive. That includes grifting.
People are motivated to resource-hog (power, money, votes in favor of their own interest) by brain chemistry / structures. "Feels good to win."
So - in my view - regulation is key to ensure that shared values win, over personal values.
Technology doesn't care, and can be crafted to add "guardrails" that prevent corruption.
The trick, again in my view, is maintaining those guardrails as anti-guardrail technology is developed by self-interested grifters!!!
What a world! (ncr100 sprays chrome spraypaint on mouth an drives off into the desert ...)