Artificial intelligence could 'take control' of our thoughts