People in China are rushing to buy medicines, foods and other items amid reports of shortages.