Obito and Madara used the Ten-Tails as a mean to attack with the Wood Release: Cutting Technique, which ultimately killed Neji.