Many of those billions of dollars went into production of chips, which is mostly a generic process where chip architecture is unaffected.
Furthermore, research about architecture of chips has been published and can be used to create faster chips.
But I have to agree that it is not easy. Especially because chip design is partly generated by software and computed by many powerful machines.