If the target noncreature permanent is an illegal target by the time Sawtusk Demolisher’s last ability tries to resolve, the ability won’t resolve. No player will create a Beast token. If the target is legal but not destroyed (most likely because it has indestructible), its controller does create a Beast token.