The replacement of muscle by automation was 20th century. In the current wave, we see a replacement of office workers with a mix of more productive office workers outsourced, online or in house.
Interestingly, muscle jobs are more-or-less immune as they have already been automated as much as is reasonable.