Dozens of US state attorneys claimed the company intentionally designed addictive platforms.