Pretty much the same thing as a human-driven cab.
Worst case, all those things fail, and a dirty cab shows up, and you reject it on the hailing app with an explanation of why, leading to some delay till you get the next available cab. Its not like unexpected failures and delays don't happen with personally owned and operated owner-driven vehicles.
That's unusual, butnot even the only problem. Someone needs to write something to recognise a liquid container. Not just the one, but all of them, some of which it's never seen before. Not simple.
And, AFAIK, moisture sensors for the kinds of materials used in cat interiors already exist, so it's not particularly novel.
Self driving cars would be even better at this - if the car is dirty, you could press a button, which would send it back to the repair place, and send you a new car.