Soaring costs force some companies to rethink their China strategy and look for cheaper options outside the country.