My point was that "keyboards" include a much broader class of electronic instruments than strictly what the set of "digital pianos" includes, like synthesizers, MIDI controllers, semi- or unweighted electric "pianos", etc. Unfortunately, to the beginner, they all look the same.
There are some fine semi-weighted keybeds out there, like on the Nord Electro.
We ought remember that replicating the characteristics of an acoustic piano with a digital instrument is difficult, and was basically impossible 30 years ago. Modern sampling keyboards have hundreds of MB of memory for samples (and can play back and mix them with no audible latency).
You'd strengthen your point by putting your entering conditions ("for classical piano") up front.
Keyboards of all sorts are used in all manner of places. Jazz especially loves the rounder tones offered by "e-pianos". There are even some famous synthesized classical pieces. So they're undoubtedly useful instruments, just seemingly avoided in most conventional approaches to learning to play piano.
I describe myself as playing "keyboard" and call my instrument a "keyboard", even though by your definitions it wouldn't be one -- I don't think that's how the word is usually used? I think most people, including most musicians, would consider a digital piano a kind of keyboard.