The move away from mechanical to communicative activity has been emphasized and prioritized for many years.
Example
Learners thinking about the position of the tongue in the pronunciation of certain sounds, or learning how to write in Roman script are doing mechanical but necessary activities.
In the classroom
Drills, substitution exercises, and using prompts to produce structures are common mechanical activities.
Further links:
https://www.teachingenglish.org.uk/article/drills-are-back-fashion-now-taste-style