I don't need to hate Apple to acknowledge that they have too much money not being put towards anything. You're appealing to emotion and not reason. If Apple invested in energy, or medicine, or biotech, we would have advancements in those industries much faster, which would be a positive for the progress of humanity.
Apple as a technology company does invest directly in renewable energy, and also medical research. Separately, Apple's money isn't a stack of bills. It is a set of investments managed by Braeburn Capital, which is one of the largest hedge funds in the world, and does invest in all of these industries.