The social media giant TikTok said that it would donate $3 million to After–School All-Stars, a charity founded by actor…