The owner of Instagram and WhatsApp faces increased competition from the likes of TikTok.