Facebook has abandoned an artificial intelligence experiment after two of its robots began talking to each other in their own language.