Tor was never a secure system. It was evolved by the CIA to be marketed by so called 'Anonymous' which was a branch of the CIA cyber activities division, as a tool to be used by dissidents during Arab spring to prevent THEIR respective governments from listening to their conversations and so that the CIA assets inside Arab nations could communicate freely with the dissidents and grow the underground movements. CIA was always able to listen to Tor communications. If you have data packets passing through multiple decentralized nodes and some of those nodes are compromised then they can voluntarily leak the meta data and content of the message to the admin of that node. Do you recall which countries these tools were used most in? Tunisia, Egypt, Libya, Yemen, Bahrain, Syria, Algeria. What is the status of those countries now? all wrecked. Co-incidence?
Tor was meant to give a false sense of security to dissidents in foreign nations so that they could use it to gossip among themselves, and then CIA could listen to that gossip. They also created and shared other tools like Tails OS, Bitcoin, if you look at the source code of all of these, it's apparent that it wasn't done by some freelancer with too much free time on his hands on a weekend. It's been done and managed by professionals. The open source repositories are more frequently revised than most paid softwares out there. Using the 'Anonymous' alias allows CIA to carry out cyber attacks against their adversaries while maintaining deniability. Anonymous (Tor, Tails, Bitcoin) is to CIA what LeT is to Pakistan.
Completely agree with your opinion on the Apple fiasco. They want to create an impression that privacy is of utmost concern to them. Claiming that Apple is enctypted is such a childish thing to say. Does it mean that a terrorist operating in US can simply buy iPhone and he wont be on the radar of intel agencies? Pfff..the CIA thinks the world is an idiot, well, to their credit, iPhone users are idiots, but that's a different story.