Peloton is in the midst of a broad restructuring as it looks to align the size of its business with its slowing sales and avoid a cash crunch.