As an economist, I am truly fascinated by the idea that the pilot shortage is created by a lack of training tools rather than historically low pay at regionals, or multiple airlines using bankruptcy gut pensions that pilots have already earned, or airlines negotiating contracts in bad faith.
The simple fact is, with the history of worker treatment in the industry, the Unions (even with their problems) are the only thing keeping airline jobs tenable right now. The biggest threat to pilot jobs right now (in my opinion) is no automation eliminating jobs, it is the multi-decade erosion of Unions making the jobs unpleasant and possibly dangerous.
The pilot shortage was caused by the airlines, and it should be solved by the airline's treatment of employees. With some of the hijinks airlines have pulled, I can see why people don't want the jobs, more so, I can see why people would be hesitant to spend $50K+ to train for them.