The CEOs of both Kroger Co. and Albertsons Companies Inc., the two grocery giants that were involved in a failed mega-acquisition attempt, are both leaving their respective companies.