Trade tensions and related uncertainties are weighing on global investment and growth, especially in sectors most integrated into global supply chains, according to the International Monetary Fund.