China's ByteDance's algorithm has helped drive TikTok's stratospheric success since the app was launched for the international market in 2017.