Honestly, the best way to achieve the latter is probably to encourage the former.
(Which will never happen as long as companies prefer to hire N interchangable people than M well-trained people, even with M ≪ N.)
[1]: https://youtu.be/LKtk3HCgTa8