Where is the difference to the US, China or the UK?
Governments often try that kind of nonsense. Usually against organized crime, terrorism, child abuse.
But in the end it’s just used for the heavy crimes like copyright infringement
The difference is that PRISM was done as a black op, and this is out in the open.
The UK is politically, culturally, and geographically close to Europe.
China has always been authoritarian (and hyper-centralized).
The US is working hard to copy bad ideas from authoritarians, but can't do it in exactly the same way, otherwise the ability to criticize the EU, UK, and China is lost.
The US, at least, has a Bill of Rights that would make this illegal, it would definitely violate the 4th Amendment and maybe the 1st too.