President Donald Trump says he's "totally prepared to walk away" if his meeting with North Korean leader Kim Jong Un is not productive.