Most people think that the very most expensive US defense item developed for use in World War 2 was The Bomb.
Right? Wrong:
It was developing and perfecting the B-29 that delivered it.
According to wikipedia, total cost of Manhattan Project: $2.4 billion. Total cost of B-29: over $2.5 billion.