Siemens said it will cut more than 6,000 jobs in its automation and electric-vehicle charging businesses as part of its plans to boost competitiveness.