Pete Hegseth has been confirmed as the United States defence secretary, with Vice President JD Vance casting the vote to break a 50-50 tie, underscoring the controversy over his nomination which has been rocked by allegations of alcohol abuse and sexual misconduct.