Berlin officials say 200,000 masks have been diverted to the US under a law invoked by Donald Trump.