Even if Amazon didn't spend a dime on R&D the most they could've earned on operating income is ~$26B, if Microsoft zeroed out their R&D they could've had about ~$35B.
Meanwhile, if Google decided to go full-profit last year they would've had on the order of $42B.