Vivek Ramaswamy said on X he was leaving the Department of Government Efficiency and was “confident that Elon and the team will succeed in streamlining government.”