Apple might still appeal to a higher court and lean heavily on that donation to Trump for legal support. They as much as said they would appeal the decision.
Apple will certainly appeal this ruling to the Ninth Circuit and probably to SCOTUS but Apple already appealed the original order which the Ninth denied and SCOTUS denied by declining. That makes an appeal on getting busted for non-compliance of the already appealed ruling unlikely. If the Ninth doesn't issue an emergency stay of the order tomorrow, it'll go into effect while the appeals grind on. This is very likely a done deal except for Apple wasting a little more lawyer money theatrically "exhausting every appeal."