Fitness measures the number of the "copies" of the genes of an individual in the next generation. It doesn't really matter how the genes arrive in the next generation. For an individual, it is equally "beneficial" to reproduce itself, or to help relatives with similar genes to reproduce, "as long as similar number of copies of individual's genes get passed on to the next generation". Selection which promotes this kind of helper behaviour is called kin selection.