For corporations, social responsibility has become a big business. Companies spend billions of dollars doing good works -- everything from boosting diversity in their ranks to developing eco-friendly technology -- and then trumpeting those efforts to the public.

But does it pay off?

Many companies hope consumers will pay a premium for products...