They usually use something akin to Segments “group” event type, which associated a user id with (depending on the platform) one or more “group ids”. These could correlate to company/team/region/etc.
Having implemented something similar-ish recently, we went the route of requiring callers to ”do the work” of telling us which group the user belongs to. Figuring it out is unnecessarily difficult and prone to issues.
In B2B SaaS, it's a lot more important to understand which customers are using which features, not which users. One customer can have many users, and one user can belong to multiple companies.
This is pretty much a must have for B2B SaaS even though it's always tucked away in expensive plans with tools like Mixpanel and Amplitude.
ie, how many individuals are using this feature or what’s the average usage of this feature for a company.