The 27-nation European Union accounts for almost a quarter of the world 's economic activity , and its sluggish emergence from the crisis is likely to slow any rebound in world trade and foreign investment .