All of social media should be designed to be safe for children, the UN human rights chief has said after Meta settled a massive court case in the US.