Donald Trump's choice for US defence secretary has been accused of lacking the competence for the job, during a much-disrupted Senate confirmation hearing.