As it happens in large orgs, with mixed results. The biggest irony being the whole Transformer architecture being actually conceived at Google, only to be implemented as a product/service by another company.
This is relatively common historically. Two examples I can recall to mind without doing any research are Xerox/Apple and IBM/Oracle. I can only imagine there must be millions of other instances.