New York has passed a law requiring social media companies to display mental health warning labels on addictive features, such as infinite scroll and autoplay, in an effort to reduce harm linked to excessive online use