The visible drum is not the whole machine.
The shiny drum is the part you can see. The odor usually starts in the places you cannot: behind the drum, under the gasket, in the detergent route, and around the drain path.
That is why laundry can come out technically washed but still smell stale when it warms up in a closet, gym bag, or laundry basket.