Oh there is a blast from the past, they were used in the main to get correct voltage for fluorescent tubes as with the old wire wound ballast a small over voltage could result in power being used to nearly double.
However with electronic ballasts that problem vanished, and most other items now have switch mode power supplies, so rare to be still required.
There may be some odd times, when they as still required, where voltage is outside the normal permitted range, but today rare.