You are right. Traditionally it was/is considered a difficult road to come into any space different than your core. Seems like Google and Amazon are really good at executing almost anything.
It is about money. Google and Amazon can offer significantly better compensation than many other companies. So, they can attract the most productive engineers.