Seven former Samsung employees have been jailed for stealing semiconductor technology and giving it to China.