Seattle uses tax on biggest businesses to fund program to curb homelessness. How Nashville is funding a $5.2bn transit upgrade