Elon Musk made repeated references to an AI "Terminator" scenario while testifying before a California federal jury about OpenAI's for-profit move.