You don't get paid based on company revenue, you get paid based on the lowest amount you (or someone you're competing with) are willing to agree to sell your labour for. That amount is going to be lower if your cost of living is lower. People earning less if they work remotely in Podunk, Idaho compared to SF is no different from someone earning less in Bangladesh than in Italy even if they do the same job.