Yellen’s comments come amid growing concerns over China’s economic practices, particularly its massive investment in industries where production is surging without adequate demand.