It's all a lot simpler. When generics hit, a lot of the time brand company will contract with some generic company to sell their pills under the generic company's label and at generic price in order to get a piece of the action. Of course the pills would look the same then - authorized generics are marketed under the original brand products's NDA. It doesn't happen on every product, but I know that one of the Toprol XLs was authorized generic, and one of the Protonix (not the Teva one but the other one), and Greenstone is actually owned by Pfizer so whatever generics they sell under their label for Pfizer products (I don't even know if they sell other generics?) are the exact same stuff as the brand, just cheaper and in a different bottle.
The most recent example is Ocelle, the Yasmin generic. If you look at the box, it even says it is manufactured by Bayer, and the inner packaging and everything looks the same, just the color of the box is off. However, it's so funny how all the reports started creeping up like "I took Yasmin for years and had no problems, and then I took this Ocelle stuff and instantly felt nauseated". Hello, that's the same exact product made by the same company on the same line! You could have feld nauseated for a billion of unrelated reasons, or it's simply all in your head...