After failing to buy influence and insight from foreign memory chip makers, China’s national champion said that it would build a massive plant for its own technology.