Energy and environmental companies captured the largest share of dollar flows in 2018, or 33 percent. Information technology and media companies took the largest share of deals, or 16 percent.