Peloton is working with management consulting group McKinsey & Co. to review its cost structure and potentially eliminate some jobs, CNBC has learned.