Elon Musk: ‘Perhaps a department of AI’ needed to keep artificial intelligence ‘safe’