The one-time investment comes as state leaders warn of shrinking revenues, Medicaid pressures and rising insurance costs.