You also misunderstand a bit what happened in Lavabits case (easy to do I know). Basically the government got a court order for one of Lavabits user's email [1]. Lavabits responded they couldn't decrypt the email because they don't have the key. Government responded, ok, give us your SSL key so we can decrypt any traffic we may or may not have between you and your users. They stalled but eventually complied [2]. Court further forced them to give them the key in digital form, which they also did. And then shut down to prevent the Government's possession of that key to give them new data from their users.
There wasn't a "case" here, Lavabit was compelled and risked fines, jail time, or both if they did not comply. You get a legal court order you can challenge it in court, but when the court upholds the legality of the order (as it did here) you either comply or go to jail. Apple will comply with any legal court order (although they may object to it first, as Google has done according to court records).
[1] Presumed to be Snowden.
[2] Printed out in 4pt font (which I thought was brilliant btw)