US President Biden warned Americans that democracy is under attack from a faction of the Republican party led by former President Donald Trump.