The chief executive of China’s largest contract chip maker said the semiconductor industry is “a bit panicked” about a memory chip shortage driven by the artificial-intelligence boom.