And to your second point about how would we know if the team was “all white,” of course we don’t know that and it’s probably not true. What we do know is that tech in the us is disproportionately whiter than the general public, and ~10 person teams with no black people on them are the norm, not the exception.
Edit: I should say that 10 person teams without black people on them are the norm in FAANG companies and others headquartered in the Bay Area. Other tech hubs in the US are much more diverse.