Wasn't this the observation / tension at the heart of
Mountainhead?
The solution to this was representative democracy electing independently-minded technical experts, but electoral / parliamentary systems in many countries would need to change to make this viable.
E.g. in the US, what percentage of Congress do you think could give even an accurate 100-level description of AI?