Major universities like Stanford and MIT already rich enough to do their own hard-science R&D. Apple and Facebook should not be forced to "donate".Facebook 100% yes
Amazon 70% yes
Apple 70% yes
While they all do some important R&D, if you factor how big they are, how big their revenues/profits are, then they should be investing much much more into hard-science R&D.
This is also one of the reasons why a movement is now growing in the US for breaking go these huge companies (especially Facebook, Google).
Its not fashionable to stand for Big Tech in Congress right now
Large profitable companies should pay their share of taxes, but not forced to "donate" their cash reserves. The right way to do it is to raise the tax rates, but not by some weird excuses of forced donation.