AppLovin Corp. is preparing to build a social networking platform after the mobile advertising company's failed bid to buy TikTok's assets outside of China last year.