The quarterly revenue was about $27bn but net profit $4bn, so you're off by a factor of 7 or more on the estimate. R&D expenses alone are $9bn, and the largest operational expense is employee comp, by a LOT, distant second being data centers. For added measure, they also reduced real estate footprint along with the 11k employees.
The company has also essentially doubled in size every year since ~2013, and that was certainly encouraged by false positives in terms of future projections when the pandemic hit. So this is really not surprising, and a major cost-saving function for them.