If you activate the last ability without choosing a target, you just create Elf Warrior tokens as the ability resolves. However, if you do choose a target, and that creature is an illegal target as the ability tries to resolve, the ability won’t resolve and none of its effects will happen. In that case, you won’t create Elf Warrior tokens.