Republicans and Democrats have both employed tactics to boost weaker rivals ahead of US midterm elections.