Earlier quoted context omitted.
The cost isn't in the toilet itself, it's in all of the politics that will go into it. People will fight against it, there will be scrutiny in its design, etc.
Honestly, I might fight a public toilet near my house too if I knew the end state was that it would mostly attract homeless people who want to shoot up heroin.
And they were unfounded. The self-cleaning and maintenance schedule does not attract homeless. I've literally watched a drug user argue with one because the door forcefully opened automatically after 15 minutes and he marched off to finish his business elsewhere.