Even Friedman's argument observes that some "socially responsible" spending might actually be in the interests of a corporation's shareholders
Tim Cook offering a tax-deductible (I assume) employee benefit that has the additional side effect of generating positive publicity probably falls into that bracket.
http://www.colorado.edu/studentgroups/libertarians/issues/fr...