AI is increasing the speed of attacks against infrastructure in the UK but also being used to help defend against it