A scandal over faulty vaccines in China has sparked anger on social media, underscoring the difficulties regulators face in rebuilding trust after years of food and drug safety controversies.