USAs president Donald Trump sier han har takket nei til et tilbud om hjelp i Hormuzstredet fra Nato, og at han ba alliansen om å holde seg unna.