Factory jobs in Massachusetts, once confined to a museum display, are not only alive and well, but quite profitable for the workers holding them.