They weren’t so much sacked as they were made obsolete by technology and rising productivity. You could still find bus conductors in China even just 10 years ago where they still made sense a bit (if only to collect fares).
However to me it’s like doormen and bellboys at US hotels or people behind a counter at a shop, it’s unnecessary human contact (which is horrendous), and it reduces functionality (reducing capacity of fixed infrastructre)
A better solution would be to employ people in more productive enterprises.