Also, for the record, AWS is hardly top of the industry in terms of talent. It's not Google or Facebook. I've never heard of an ML researcher joining Amazon when they could have joined Google/FB/Apple.
No doubt, the flow is usually Amazon -> Google/Facebook, because for mid-level engineer/scientist, money talks :), and Google/FB generally have much open/better publication policy, while Amazon is neurotically secretive. Apple is not on the picture, I think the internal engineer culture is very problematic(no common codebase, severe NIH syndrome), except for the money, it is subpar place to grow.
Disclaimer: Work in a ML related AWS team.