The US Mint buys brass slugs an turns them into US dollars -- I bet there is a pretty high margin in that business so I don't think they are taking any loss. More like the US taxpayer is taking the loss.
The intrinsic value of the metal has literally nothing to do with it. If you take $0.01 of brass and turn it into $1 coin you didn't make any "profit."