The UK is to host a conference with leading artificial intelligence (AI) developers in Silicon Valley in November to discuss how to tackle the potential risks surrounding the technology.