Generative AI is reshaping SaaS, leading Atlassian and Block to cut jobs. Stock-based compensation and financial discipline are key issues.