Optimizing Semiconductor Supply Chains: Overcoming Fab and Packaging Challenges