The companies aim to ease the strained global supply chain for semiconductors and boost Japan’s chip manufacturing capabilities.