The type of consultancies and firms which actually pay out profit based on equity are usually LLP's / partnerships (part of the reason why "Partner" is a title in finance, law, etc.
Tech companies are usually corporations (often C corps in the startup world.) What equity gets you in the two scenarios is completely different.