The solution for this is to solve it in the domains where it is necessary. If you want to write or adopt software for use in a critical system in aerospace then you need to be a licensed aerospace engineer, etc.
There is absolutely no need to license web developers or those who write the usual line of business software etc.