No, you mischaracterized the scenario. It's more like, a professional association writes their definition of how to build something while being "sure enough" that it won't flood, collapse, electrocute you etc. The government says, "oh, yeah, sounds right. Everyone has to do it that way." And then pays that group royalties whenever someone wants to check that they're in compliance.
That's no different from any other copyright situation, in terms of producing something of value and having to be paid for each copy, except that the government has propped up demand by making it the law and absorbing the royalty cost.