YouTube unveiled a new way for creators to make money on short-form video, as it faces intensifying competition from TikTok.…