The government awards him both the patent and the intellectual property, the latter not being defined by the constitution.
People seem to forget what the constitution is, the Constitution grants government its power, if the constitution is silent on a matter than the government is suppose to be powerless, is not suppose to engage in that activity.
This means a whole host of things the government does, should be unconstitutional, but sadly the courts have interrupted the constitution to include powers it does not contain.
https://en.wikipedia.org/wiki/Copyright_Clause
They've turned it upside down and made it protect the state instead. The constitution does not grant this power to the state.