Prince Harry has told a global forum that social media platforms are designed to "create addiction" and called on their owners to act responsibly.