Not a fan of any of the two companies but I believe you're being unfair.
At least Microsoft does not sell your personal information or build it's business around renting access to your personal information. There is a big difference between sharing data with advertisers and sharing data with company-controlled subsidiaries and vendors.
Amazon is a little more permissive  but again, it does not sell your data.
Both of them ask for your consent before sharing the data. So for example, if your friend/contact shares his data, the third party does not see your data (as opposed to what Facebook did).
Posts such as yours reek of whataboutism (same as the Obama campaign narrative) and do more harm than good. The two companies have not built their business around personal data. The personal data in this case is a side-effect of selling an actual product/service which brings in the cash.
If you mentioned Google, then that's a different thing. I find it interesting nobody is bringing up this book: https://www.amazon.com/When-Google-Wikileaks-Julian-Assange/...
Get dozens of book recommendations delivered straight to your inbox every Thursday.