They should levy taxes on people living in the municipality, not a company thousands of miles away that is not using their resources in any way whatsoever.
They’re attempting to do just that. This tax would be paid by the consumer, just as state sales taxes are. However companies must keep track of the relevant taxes for each consumer, charge them appropriately, and remit that to the appropriate government. It gets complicated real fast.