It actually was an accident, enabled by IBM using off the self parts unlike their previous computers, and Compaq's clean room reverse engineering of the BIOS.