This is only true for a fully closed, self-contained economy. Unfortunately, there is no such thing. In the case of the US, it is *extremely* "no such thing" due to insane trade and fiscal deficits.
Bottom line: the US cannot pay for imported oil with money created by this"infinite capacity"...