The CEO of Meta will testify in a trial alleging social media platforms intentionally made their products addictive to children.