Hong Kong is to cut thousands of civil service jobs and invest in AI to tackle a rising deficit