It depends on the total cost and power consumption of the two solutions.
For example:
A battery powered system better use the multiple op-amps solution, as they won't consume total power ass much as the relay multiplexer network .
If using a high-end op amp that's by extension of a high price, the multiple relays solution is better, as duplicating the op-amp won't be cost efficient.
It depends on the total cost and power consumption of the two solutions.
For example: