What does make sense - to me anyway - is for Apple to embrace Linux because they'd sell a lot more Macs. I assume there are many thousands of developers like me that detest macOS and won't even consider a Mac. But like you said, Apple is making some amazing hardware these days. I would buy a Mac if Linux was well supported.
Apple did just fine in the early days when their hardware and software was open source. But while it got them up and running, it's not a viable business model to get to be a multi trillion dollar company. It became understood in tech that the way to be profitable was to make your competitors stack a commodity.