Atlassian is cutting 1,600 jobs and replacing its CTO to fund AI investment, five months after the CEO said the company would hire more engineers.