Productivity gains may be offset by job losses as AI disrupts the workforce, impacting the health of Social Security.