If there are frequent shortages but it's a different part every time, then flexible manufacturing techniques like 3d printing that can adapt to the market and print expensive parts.
3D printed parts lack stability and precision for like 99% of all use cases. Especially for expensive parts. Precision is mostly what makes them expensive.