A man who doused himself in an accelerant and set himself on fire outside the courthouse where former U.S. president Donald Trump is on trial has died, police said.