but again, market cap is the full value of public shares available, how can we now that only 10% of uber's shares are public and 90% privately? or how can we know how many public shares does apple offer and how many are private?
No, market cap is all shares, including ones held privately.