BlackBerry has spent the past decade quietly transforming itself into a key player in cybersecurity and connected systems.