The rapid growth of artificial intelligence is creating new security threats, and Britain's intelligence chief has warned that the world must prepare for major cyber disruptions. She has also raised concerns about the possible use of AI to develop dangerous weapons