Foreign investors should be barred from buying firms essential to national infrastructure