Because interoperability is key to competition...?
Imagine a universe where different hardware doesn't interoperate (e.g. androids can't call iphones, Macs can't use google.com, ChatGPT is only accessible to Comcast subscribers) I hope we can all agree it's a nightmare scenario. Sometimes the free market gets it right without intervention, sadly sometimes it does not.