A federal appeals court found President Trump lacked the authority to impose extensive tariffs, supporting a prior ruling.