The technology giant’s owner Meta said platforms like TikTok were hurting its growth.