A New Mexico judge ruled that Meta helped fuel the state's youth mental health crisis, ordering it to pay $567 million for treatment and prevention programs.