British spies will seek to counter the threat of Russian cyber warfare with a new laboratory for artificial intelligence, a minister will announce, as he insists Vladimir Putin will fail to deter support for Ukraine.