Is there a low-cost alternative to RJ45 cables for large number of signals?
There are ribbon cables with twisted wires:



Every few cm, there is a flat section to allow attaching an IDC connector.

Looking at two product drawings it appears to be pretty typical to have 50 mm of flat cable out of every 500 mm.