Dell Technologies Inc. shares rose on Thursday after Chief Executive Officer Michael Dell said the company is building a “Dell AI factory” for Elon Musk’s startup xAI alongside Nvidia Corp.