Applied Materials Inc., the world's largest supplier of chip-making equipment, has agreed to acquire Tokyo Electron Ltd., its closest rival, for $9.39 billion (¥926 billion) in stock, in the largest bid by a foreign corporation for a Japanese firm in six years.