Japan was once the world’s leading chip manufacturer. Now, concerns over supply chains and geopolitical tensions have prompted the government to provide funding for foreign firms and domestic manufacturers.