Facebook, Instagram owner says ruling is ‘flawed, unjustified and sets a dangerous precedent for countless other companies.