Atlassian laid off 10% of its workforce, around 1,600 people, as the company looks to funnel more funds to AI.