 In desperation, he built a robot version of himself.The robot kidnapped Ted's wife and held her captive in his bunker until she died.The robot then sought out other women resembling Ted's dead wife and repeated the process until it met Joyce.