An energy firm affiliated with Hilcorp Alaska will buy an unused natural gas export terminal on the Kenai Peninsula and convert it to an import facility, the company announced Thursday.