Flushing toilets allowed cities to grow and high rises to exist. I consider it an invention that changed society.
The Romans had high rise tenements sans toilets over 200 centuries ago.
http://www.historyrevealed.com/article/romans/5-facts-about-roman-insulae