Fantastic that he posted his experience, but it sounded like a pretty standard experience with authorities for many Americans. Genuinely curious why this is news compared to what happens to many other people?
(For what it's worth, I helped my family move cross-country by car in summer 2016; we passed a "border" checkpoint in New Mexico or so, on I-10 relatively far from the border, where they stopped each car, asked us if we were citizens, and let us go on our way when I answered yes. That seems like a much more "standard" experience than what's here.)
Part of it is denial of a lawyer. As I understand it, you might not have a right to deny the search, but you should still have access to counsel, because the point of legal representation is that they can tell you exactly what rights you do / don't have.
Part of it is an apparent government focus on Mozilla. Andreas Gal hasn't been at Mozilla for about four years, but that's what they asked him about. And there was the visa denial for Daniel Stenberg (author of curl) when heading to the Mozilla all-hands: https://daniel.haxx.se/blog/2018/07/28/administrative-purgat...
And finally, part of it is that it shouldn't be common. It's a good reason for individuals and companies to leave America.