A United Nations official warned that the FBI’s bid to force Apple to hack a locked iPhone is akin to opening a Pandora’s box that could have devastating effects on human rights around the globe.