YouTube will pay almost $25 million to settle a lawsuit brought by President Trump for suspending his account — most of which will support a planned White House ballroom.