Hundreds of jobs at risk as supermarket giant trims the fat to stay in the game.