The MI5 urged companies to take action to improve their security in the face of what they said was the risk posed by operatives acting for Russia.