US President Donald Trump says Democrats must end the shutdown before talks can start after six days of gridlock.