Technocracy is how to chose who runs things: "is a system of governance where decision-makers are selected on the basis of technological knowledge. Scientists, engineers, technologists, or experts in any field, would compose the governing body, instead of elected representatives. Leadership skills would be selected on the basis of specialized knowledge and performance, rather than parliamentary skills.[2] Technocracy in that sense of the word (an entire government run as a technical or engineering problem) is mostly hypothetical." https://en.wikipedia.org/wiki/Technocracy
Critically, having someone technical in charge based on an election is not a Technocracy. It's related to Monarchy/Democracy just replace by birth or by election with by demonstrating relevant technical skill. Knowing how to build a CPU for example is not relevant to setting health policy.
PS: The closest we have come is probably a small hunter gather group lead by a group of the eldest. As they are selected based on their skill in survival. Though presumably they had far fewer regulations etc.