Meta's landmark trial over teen social media addiction is over with the tech giant agreeing to a multibillion-dollar settlement.