One way to rationalize this is to realize that the Internet provided a platform to the cities a rent seeking ability which was extremely limited in the pre-Internet era. Similarly, when a person in Nebraska buys West Texas Intermediate from New York stock exchange, then New York stock exchange takes a cut. A big chunk of that is used for salaries, expenses, or charity donations which are usually highly localized activities and benefit the cities where these companies are headquartered.