Foreign Capital in Developing Economies