Foreign investment has been called both a blessing and a curse for developing countries. Explain how this can be the case. What has to happen for foreign investment to be considered more consistently as a blessing? Provide concrete examples in your answer.