RIO DE JANEIRO (Reuters) - Bandits attacked a Samsung Electronics Co Ltd factory near Sao Paulo late Sunday and held workers hostage while they robbed truckloads of smartphones, tablets and notebook computers that police valued at $36 million.