Tesla's engineer attacked by robot at company's Texas factory during violent malfunction