Threats against corporations have been rising for years, fueled in part by the echo chamber of social media and an increasingly polarized political environment.