One answer is that the towns elected officials thought that the project served a public purpose and that the various subsidies and favors were worth the price. But they may or may not have thought this.
An acrobatic dunk will make it onto Sports Center. A simple, unspectacular bounce pass in the rhythm of the offense will not. System basketball has been replaced by players who want to be the system.