Telnet's mere presence doesn't encourage anything of the sort, especially when used as a diagnostic tool. It's true that in the past telnet was widely used for configuring networking equipment. But it's also been very handy for doing quick tests to see if a web server was alive, and indeed to see if a certain port (encrypted or not) was open on a remote host. In fact just the other day I used it to try to figure out if my ESP32 was actually listening on a port. It turns out it was listening but not responding.
Sure there are other tools that are arguably more valuable, but telnet was always there before, whereas netcat I would have to go in search of. Installing stuff on Windows like that was always a chore compared to Linux.