What if Apple loses in the courts?
As I understand it, Apple, Inc. will be required to produce certain software for the FBI. But, Apple, Inc. is NOT a person. It is a corporation that employs persons. It is these ‘natural‘ persons who must do the required work. This work obviously requires significant skill and experience as well as access to what are undoubtedly carefully held Apple Trade Secrets.
What if there are no persons willing to do this work? Those with the necessary experience within Apple might just refuse, or upon learning of Apple’s defeat in court, might resign their positions. Despite the best of documentation, it is unlikely that recruiting outsiders would be able to produce the desired result except after a very long training and learning period.