Formula 1, the sport’s 10 teams and its drivers have all partnered with a slew of alcohol and nonalcoholic brands on multiyear deals for the 2025 season and beyond.