I don't want to just copy and paste my previous comment, but this isn't how companies at this size think about declaring profits. See https://news.ycombinator.com/item?id=47347993
Hence the comment you replied to saying "they print cash". You'll find a lot of big companies work this way: high free cashflow, because they earn a lot more than they spend, but then the spare cash is either reinvested or paid out via share buybacks. Declaring a profit isn't advantageous compared to the other options available.
This is a pretty surface level analysis; Atlassian also has stock buybacks of billions of dollars each year. It's an intentional choice to not declare a profit and pay a dividend, and instead to reinvest in acquisitions and pay shareholders via stock buybacks.
You'll find it much more interesting to look at metrics like free cashflow, which is a better indicator as to whether the company is generating more cash during operations than it spends. This is a lot closer to the layman's idea of profit, and in a small business like a restaurant or single store it's often analogous to profit. In publicly traded companies, net profit and loss are borderline meaningless.