Atlassian lays off about 1,600 employees globally as part of a restructuring aimed at strengthening finances and increasing investments in AI.