President Donald Trump has lost battles over his attempt to challenge the results of the election by pushing unfounded claims of massive voter fraud.