All of these are their own accord. That's even what OP's article is about - if Apple is legally required to break their encryption in the EU, then they will discontinue their product.
Let's not pretend this is a privacy-motivated decision. Where Apple doesn't have negotiating power (eg. China) they have been forced to compromise user safety and privacy[0]. We live in a post XKeyscore world, pretending like this doesn't also happen in America or the UK is a bedtime story for helpless capitalists.