Trump has said a “very wealthy gentleman” offered to pay U.S. troops’ salaries if funding ran out during the government shutdown.