
If Apple were infringing when the patent was in effect they'd still be liable for the infringement over that period, even if it's expired by the time they get it pushed through courts.
Otherwise we'd find people walking free from murder because "Your Honour, the Prosecution have no client to bring a case because they're dead. Dead people have no rights in court."