EU economies hit by collapse in investment, new data shows