Beijing is becoming more selective about where and what it builds overseas. That transition was already underway but it has been hastened by the Iran-U.S. war.