Maybe it needs a connection cause it takes a picture of your feces and sends it to an AI analysis service. If anomalies are detected, it tells you that you should take the stool sample to a laboratory for further study, then lets you flush. Poof, smart toilet. I could see people with too much money buying this.
Edit: Thought about it some more.. why stop at feces images? Why not also have a high resolution camera pointed at your anus taking crowning shots and analyzing those. Tell users if anythings wrong. The future is ~~bright~~ brown boys. The future is brown.
Edit2: You could even have motion based security.. alert if anyone broke in through your bathroom. Cameras in toilets people! What could go wrong?
Edit3: Hear me out. User controlled bidet mode + anus camera. Take out your phone and clean your ass in first person. Score points if you clean your whole ass and compete on an online scoreboard. Tech sure is amazing.