The Senate confirmed Kash Patel as FBI director in a narrow 51-49 vote, despite Democratic concerns over his qualifications.