The shortage is threatening the production of everything from semiconductors to military drone components and space rockets.