Samuel Adams Brewery parent Boston Beer Company will turn $5.8 million worth of craft beer returned from restaurants and retailers amid the pandemic into ethanol that can be used in gasoline.