NZ firm takes flak for energy company role