Shares of Intel have more than doubled this year on optimism that backing from the government will help the company's position in AI.