Meta and a coalition of 47 US states settled the major federal trial centring on allegations that the social media giant misrepresented the extent of child-related mental health harms caused by its platforms.