Cyberattacks are on track to cost companies more than $6 billion per year as malicious actors target everything from intellectual property to product data and email accounts.