If a tech company is sourcing engineers in an office work environment, they need to pay salaries competitive for the location of said office. (You can find great engineers in Jakarta, but you have to relocate them to SV and pay SV rates)
If everything is remote work, you hire the same worker, and pay them Jakarta rates (you can sub Jakarta for any very-low COL city).