New York state lawmakers have approved legislation that will bar social media platforms from exposing users under 18 to "addictive" algorithmic content without parental consent. This move makes New York the latest state to tackle online risks to children.