International investment agreements enable corporations to sue foreign governments for loss of profits. The sums they demand can be so huge that even the threat of a claim is enough to make governments cave in.