Meta Platforms, the owner of Facebook and Instagram has agreed to settle a series of social media addiction claims for up to $18 billion.