They absolutely do not, and they often make money and realize many other benefits by leveraging and/or contributing to standards.
https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/
https://www.fastcompany.com/3044088/apple-and-usb-a-history-...
https://en.wikipedia.org/wiki/QuickTime_File_Format#Extensio...