How Foreign Investment Affects Host Countries