Traditional broadcast also just had different incentives than streaming.
A successful sitcom captured a lot of eyeballs that could be translated into advertising dollars. It could also be a magnet for viewers to watch perhaps somewhat less captivating content in adjacent timeslots a la "must see TV Thursdays on NBC."
Netflix, on the other hand, mostly needs to fill its catalog and have enough really must see content so that subscribers keep renewing.
There's overlap between the two models. Both reward series that people really want to watch. But the specifics are subtly different.
Community has crawled through the trenches to get its six seasons and now finally a movie and I wish them the best.
Most traditional series will hit that number in 5 seasons, but obviously nobody wants to make a deal for a dead series; so you produce season 6 too, to make it palatable. By this point, however, your talent bill has probably grown significantly, so making new seasons is less and less profitable - as well as narratively hard. So you pull the plug and start afresh.