Massachusetts companies that are most philanthropic say its part of their DNA. Experts explained what makes some companies and industries give more than others.