How TikTok is taking lessons from the record industry in building a media business