It gets crystal clear if we apply what these Tech companies are doing to other common products. So, let's use a Ford Explorer as an example. Let's imagine that Ford requires that you buy all maintenance from them or no warranty, or you cannot listen to music via Blue Tooth in your car unless that music was bought from Ford.
I'm about as far from a lawyer as you can get, so this is just me noodling. But I'm not sure I agree with that comparison. Because music in a car is a "side function." Apps and programs on a computer/device are the main function.
Can you buy a Ford with a Chevy engine? No? That's not fair. Why should Ford control it? Etc.
I do use Apple products and am happy with them. Again, I don't know the legalities, but I kind of get that they would want to control it in the way that Ford wants to put their engine in.
I've always been able to have my Macs repaired elsewhere if I wanted to (or do it myself). Not that I have had to make too many repairs, but some. OTOH, I get treated pretty well with repairs by Apple. The one time I took my computer to a non-Apple repair place they scratched it all to heck, so now I either repair myself (thanks to iFixit guides) or have Apple do it.
Note that I'm not saying my argument above is correct or legal - I really don't know. But I'm just saying that your example of music in the car is more like a case for an Apple product (a side function) and you can buy those from anyone you want.
PS: I have zero issues with anyone wanting to use Android or other products. I do slightly resent the implication that I'm wasting my money on "bad habits" by buying Apple. It's just my choice, like which boats I (or you) buy.