More than half of vehicles sold globally are connected, according to McKinsey & Co., and that is forecast to rise to 95 percent by the end of the decade. That connectivity gives hackers more targets.