Only if Apple stupidly wrote a generic firmware that could run on any iPhone and then lost it. That risk is essentially zero.
If Apple reasonably complied with the order, it would be as dangerous as any other Apple update, which is to say not dangerous at all.
>Seriously, it boggles the mind that they are asking for the security to be weakened, because terrorists.
In this case, there is no weakening.