The privately-owned German sweets giant is planning to shut a factory in its domestic market, citing a profitability review of its sites in the country.