They do in Europe. They have water softeners too that you have to fill with salt. Don't believe it's the case around the world.
More than you ever wanted to know about dishwashers: https://www.youtube.com/watch?v=_rBO8neWw04