Your random thought led me to this one:
A Raspberry Pi that plugs into the a PCI slot, which gives it power and exposes a virtual serial port along with an Ethernet port that shows up on the host system and can be used to route packets to the Pi. The Pi, meanwhile, has all of the usual GPIO things and maybe even an external connector to expose GPIO outside of the PC case.