If you do significant business in a country, you normally need an office in that country, someone who can be held accountable.
FB has an office on Barangaroo Avenue in Sydney, X closed its offices but has people working at home in Australia, Google has offices in Pyrmont NSW.
If these major companies don't have people who can be held accountable in the country and are working outside the law, the Government starts working on banning their services in the country, potentially losing major revenue and taking a reputation hit.