Malfunctioning robot impales Chinese factory worker