One of the state’s largest employers reportedly discussed the idea of buying one of the largest public companies in Massachusetts.