Intel reported quarterly earnings and revenue that beat analysts' expectations on Thursday, as two of its key segments outstripped Wall Street.