It's important to remember that when companies are competing, they're not necessarily "enemies." One division of a company can be competing with another company's similar division, and yet two different divisions of both companies are working together tightly.
Another big example is Samsung; Samsung definitely competes with Apple when it comes to the phones themselves, yet Apple buys a crapton of display panels and other parts from Samsung to make their phones!
Companies work together and compete at the same time constantly, it's not weird and it's rare that they "hate each other" for lack of a better term.