Elon Musk and Intel’s CEO have said the company’s involvement in the Terafab chip plant will continue, boosting shares.