Despite their very different businesses, both retailers are pursuing similar goals to turn their operations around