As for why everyone stayed compatible with each other... I have no idea.
Shortly thereafter the market was inundated with white box PCs. This change reduced the margins on PCs to such an extent that it remade the PC market again. The rise of Dell was part of this process. The only way to beat the local white box supplier was to have superior supply chain logistics which is what Dell brought to the market. By this time, the requirement for compatible hardware was so ingrained there wasn't even a discussion if it was possible to go off on your own--unless your name was Apple.
Or do you mean like OEMs creating complete computers that wouldn't take processors or expansion cards or peripherals from anyone but the OEM (via some sort of authorization system?)? From my memory of building back in those days, that'd have been a bad move. You'd get a rep for being incompatible and people would have less incentive to buy your system.
Because markets have momentum. When a hundred thousand people have IBM compatible PCs, making your part IBM compatible opens the door to an already-established customer base.
In simple terms, why does nearly every accessory interface via USB these days? Because just about everyone has a USB-compatible computer.
It's my hope that eventually similar standards will evolve for tablets (and laptops, and perhaps phones) that allow a consumer to easily modify or custom build a compatible device.
Unfortunately, I don't have high expectations that this will actually happen. The market just doesn't seem to be applying the right pressure to have any companies interested in doing such a thing.
(Out of interest, can anyone with more knowledge comment on how this standardization came about for PC's. I presume there was a time when computers from different companies weren't compatible. What brought about the "IBM compatible" machine, and why did IBM not sue the pants off every company releasing such a product?)