The Japanese company’s investment in Intel paid off.