Musk has previously compared AI with nuclear warheads and told Tesla investors that the technology stresses him out.