The tax on large businesses such as Starbucks and Amazon was seen as a way to fund programs for the city’s homeless population.