Intel’s momentum reflects optimism about AI and manufacturing efforts, but analysts say earnings could underscore some challenges as well.