The president signed an executive order aimed at expanding federal apprenticeship programs and allowing the use of federal aid to finance them.