It is the latest instance of a large corporation settling litigation with US President Donald Trump.