Two US firms are suing customs authorities to recover $31 billion in tariffs deemed unlawful by a court ruling against Trump-era policies.