The new arrangement will mean changes to TikTok’s algorithm, the secret sauce that powers its addictive video feed.