BlackBerry CEO would consider handset unit sale, eyes investments