I think the Manhattan project had a lot of consideration towards making it economical. (and huge government programs weren't quite so common back then) Plus, I think things that were returned/recycled weren't counted against the total. e.g. the $600 million worth of silver they borrowed to make calutrons, because there was a copper shortage.