Alphabet profits have increased but profit margins are down.
Amazon revenue is rocketing in the expense of not making profits.
2016 net income margin: 21.5%
2015 net income margin: 21.7%
2014 net income margin: 21.3%
2013 net income margin: 20.4%
2012 net income margin: 21.6%
That you're not an accountant must be the reason you don't understand spending on R&D isn't hiding profit. If you spend the money, it's not available as profit.
Now, you use the term "hide" in relation to profit - which blatantly implies illegal activity. If that's the case, please provide the financial statements that you used to derive that immense legal claim. Amazon is a half a trillion dollar corporation with a vast number of very wealthy shareholders that would love to see all of this stolen profit that is being kept from them.