Before the ruling Apple was paying about 8B in taxes per year to Ireland.
If multinational corporations are no longer able to do a Double-Irish Dutch Sandwich anymore, it doesn't make sense to stay there.
Which means the future losses in a single year from several large multinational corporations leaving will be larger than this one payment.