Global foreign investment flows dip to lowest levels