I don't understand copyright law particularly well, but I'd expect it does matter here.
The TOS only applies to the person extracting the data. So if person A extracts the data, violating TOS, then puts it up on a website where it is downloaded by person B (who did not necessarily ever agree to Google Maps' TOS), then only A has broken TOS, B hasn't. But B may have violated Google's copyright.