Intel shares closed higher following a new plan to spin off its AI-focused foundry business into an independent subsidiary capable of raising outside funding.