FDI has slumped as businesses are warned to take on burden of protecting their staff if Beijing attacks