I suppose such a contract would work provided the cost of fulfilling those obligations did not exceed the outstanding payment. Otherwise I would expect the company to just cut their loses.
It may not be perfect (which country's is?), but China has a justice system. A court case with Apple's weight (and money) behind it probably would be reasonably succesful in China.