The stereotype of the unmotivated official, which has fuelled Donald Trump and Elon Musk’s assault on government workers, has existed for as long as bureaucracy itself.