Cars can drive autonomously, but they can't sense a spill?
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.