While China beckons with cheaper labor and a huge market, it often frustrates with bureaucracy, corruption and a byzantine legal system.