Are Japanese people that's related have the same surname?

Not neccessarily. That's like saying, are all the people with the surname ''Smith'' related.