Yeah the built-in GPIO on the Raspberry Pi is nice indeed. You can get PCs with GPIO too tho. If you look for 'industrial gateways' you'll find a number of them, but they are a bit more pricey. Alternatively, you can use a GPIO over USB, but that comes with own set of challenges.