There's a difference between can and must. A LOT of landlords don't maximally squeeze their tenants.

In fact, I'd argue the majority of landlords are shit investors sat on fairly low yields