A federal lawsuit filed by 41 US states and the District of Columbia accused the tech giant of negatively impacting the mental health of young children due to its addictive nature and content.