BlackBerry only withdrew from making handsets. BB OS 10 was QNX, then they briefly moved to Android, then licenced it to TCL for a few more Android phones. They became a 100% software company. There are still Android apps like the Blackberry Hub, the unified inbox.
Secure access is part of their offering, but the larger part is them acquiring QNX, so a "BlackBerry" RTOS likely powers your car and many other critical systems you may not be aware of.