An individual's fitness is manifested through its phenotype. As phenotype is affected by both genes and environment, the fitnesses of different individuals with the same genotype are not necessarily equal, but depend on the environment in which the individuals live. However, since the fitness of the genotype is an averaged quantity, it will reflect the reproductive outcomes of all individuals with that genotype.
As fitness measures the quantity 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. That is, for an individual it is equally "beneficial" to reproduce itself, or to help relatives with similar genes to reproduce, as long as similar amount 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.