MS research is an interesting case. From my memory they did support some theoretical research in non-linear stat mech a few years back (i.e. https://en.wikipedia.org/wiki/Oded_Schramm worked there and he was certainly doing pure research), they also let https://en.wikipedia.org/wiki/Michael_Freedman spend time doing his topology research even though it probably aint going to lead to a quantum computer :) Google however seems mainly to support research in ML/DL with applications the end result, yes it's research, but I wouldn't call it greenfield research like what occurred at Bell Labs (i.e. discovery of microwave background radiation).