Electric trams of the era used essentially large resistors banks and series parallel switching to control power. I expect it was much the same for electric cars, perhaps tapping off or rewiring part of the battery bank. The total amount of power probably made simple on-off control almost practical anyway.