Humans could soon be able to have conversations with dogs as scientists are developing artificial intelligence to enable communication between species.