China said a U.S. ruling that will trigger tariffs on solar panels imported from China and Taiwan will hurt both local manufacturers and American companies that buy them.