Car manufacturers use parts (like engines) from other competitors all the time. I thought this could be similar with Mozilla, but I guess it was a silly thought.
I'm sure there are many backend libraries, parsers, etc. that are used by both Chrome and Firefox, but they're unlikely to replace significant components like that.
https://en.wikipedia.org/wiki/Mazda#Partnership_with_Ford_Mo...