This reminds me of how 20 years ago I was learning to code and someone told me "but people today don't do stuff with text. now they do stuff with GRAPHICS!"
CLIs have been passé for the non-nerd set since Windows gained a foothold in computing oh 35+ years ago. They haven't gone away, nor will they. Windows is actually more CLI-friendly now than before, with powershell, Windows Terminal, WSL, and that almost GUIless Windows server core thing. Macs gained a command line in 2000 by eating OpenStep. And of course, Linux.