YouTube is running ads on TikTok targeting the app’s content creators, an effort to lure these valuable users to the Google-owned rival and capitalize on TikTok’s uncertain future.