Heck, maybe investing hundreds of millions in Apple today would, in X years, be worth more money than spending marketing money / development budgets for new features for their own products; or worth more than investing in OpenAI and related products - but it's not exactly something anyone would suggest Microsoft should do (in terms of just becoming a shareholder, of course there could be collaborations without changing this point).