Japanese electronics giant NEC is to cut 20,000 workers worldwide as it tries to curb widening losses from semiconductors and other businesses, which have been hard hit by competition and the global economic slump, reports Associated Press.