Apple is looking for ways to avoid supply chain issues - for now and for the future.