OK, I've pulled the sensor and there was nothing on it except some oil. It's still magnetic and looks in good order physically.
I hooked it up again but with the sensor out of the engine, switched the ignition on and immediately got the 5VDC again on the pink wire.
I waved a spanner in front of...