Something that doesn’t really exist anymore but easily could is offering fixed contracts (so not at-will employment). This way you can pay to train and keep the employee longer while the employee gets the added security of having a job that they can’t lose. I’ve never heard of contracts like this outside sports and movies and I wonder if any more traditional companies have considered exploring it.