Despite your observation that SO has explanations, SO can he and has also been used as a zero-learning crutch.
Similarly, LLMs can be used as educational tools.
In the end, learning and self-improvement needs some non-trivial motivation from the individual.
The answer to your question is to show them it’s valuable to learn. If they find they’re completing their tasks adequately from AI assistance, then give them harder tasks. Meanwhile, model how your own learning effort is paying off.
Note how if they are left with AI-trivial tasks and the benefit of learning remains abstract, we shouldn’t expect anything to change.