Atlassian has announced it is laying off about 10% of its workforce, or roughly 1,600 positions, and replacing its chief technology officer as it restructures to invest further in artificial intelligence.