TAIPEI—Taiwan chip giant TSMC announced on Thursday plans to build a new factory in Japan to meet long-term appetite for chips and said, near-term, tight supplies will likely continue into 2022 amid booming demand during the COVID-19 pandemic. TSMC, the world’s largest contract chipmaker and a key supplier to Apple Inc., said it would set up a chip plant in Japan that will use older chipmaking technology, a segment currently under a severe supply shortage due to robust demand from automakers and tech companies. But production from the plant is only likely to begin by late 2024. The company and Taiwan in general have become central in efforts to resolve a pandemic-induced global chip shortage, which has forced automakers to cut production and hurt manufacturers of smartphones, laptops, and consumer appliances. “TSMC is working closely with our customers to plan our capacity and investing in leading edge and speciality technologies …