China’s abrupt devaluation of its yuan made for a tough week for a lot of markets — currencies, commodities and stocks — worldwide. Where were the winners and losers? China’s mainland markets were the most obvious winners. The Shanghai Composite rose 5.9% for the week. The smaller and more tech-centric Shenzhen Composite soared 6.1%.