China had its biggest trade surplus ever last year at almost $1.2 trillion, according to data released Wednesday, defying tariffs President Donald Trump has imposed on the world’s second-largest economy as it sends more exports to other parts of the world.