It is simple. If the Govt wants to support the semiconductor industry provide proper worker protections. It should know that the a few companies would have cartel like power and exploit their employees.
Contrast that with software where you and I could go start a business now and potentially unseat a major player somewhere with enough talent and dedication.
Its obvious which one is going to have more mobile employees.