Musk has framed AI technology as central to his broader push to develop artificial intelligence that could support the automaker’s self-driving and robotics ambitions.