There are no switches (electro-mechanical devices) inside the ECU. There are lots of transistors (which can be used to "switch" current paths, but there is nothing elecrro-mechanical. Nothing moves inside the box except electrons.
And as for it being a "computer" or not... I would say "not". To me, a "computer" would be a programmed device running a sequence of decision making steps, and the old analog ECU's do none of that. There are no "steps", and there are no decisions.
I have not, however, looked up or researched in any way what a "computer" is by definition. But I can tell you there is nothing programmable inside the ECU's, at least through the end of the first gen Z run. Some of the later ZX's have embedded computers inside, but nothing before the ZX.