Children in New York will have greater protection from potentially harmful AI-powered toys following the signing of new legislation.