It was not a metaphor, it was hyperbole. “I’d actually like to go back to the old times of Tudor England. I’d put their heads on pikes, right, I’d put them at the two corners of the White House as a warning to federal bureaucrats, you either get with the program or you’re gone.”
It is a call to violence. He is saying that these people deserved to be killed for what they have done to Trump. That in his estimation, the world would be a better place if someone were to kill Fauci and Wray as examples to the rest of Washington.
Sure, he's not really suggesting that he would actually do it, but he is certainly asking someone to.