NSW public sector employees have lost their bid for a 2.5 per cent salary increase, with an appeals court upholding a decision which found the economy would be better served by public spending on infrastructure investment than public service salaries.