the L roots are arte and factum, W3 speculates that the revisionist spelling may have been influenced by artifice (and the original sense of artifice, now obsolete, was more closely related; i.e. the production of something).