Social Security's looming shortfall is often framed as a distant problem for retirees, but the math behind the program is already reshaping the finances of workers, businesses, and state economies.