Chipmaker Intel is partnering with billionaire Elon Musk to develop his Terafab semiconductor factory. Intel stock rose on the news.