Legal chiefs of tech companies led the pack, even though that industry last year was wracked by turmoil, including mass layoffs.