"What if Facebook never filed? Would Apple never be able to act on this?"
If there wasn't precedent that Apple's TOS venue clause was binding, then the case would have been thrown out as I just previously explained.
"If they would have acted, why didn't they do it before Facebook?"
Because the case would have been dismissed as I just explained.