The best paid legal executives at the biggest public companies increasingly have something in common, even beyond total compensation that can top $30 million: They wear many hats.