This might seem surprising, but it makes sense when you consider that both species evolved from a common ancestor that lived around 100 million years ago.
While we share a lot of our genetic makeup, this doesn't mean we are 84% identical. It means that 84% of our DNA sequences are similar. There are still significant differences in our genomes, which accounts for the many obvious physical and behavioral differences between humans and dogs.