YouTube will give creators more chances to make money from short videos, in an apparent bid to compete with TikTok.