If an artifact affected by Dan Lewis later becomes a creature, Dan's effect no longer applies to it. That artifact will stop being an Equipment and become unattached from any creature it was attached to; it will remain on the battlefield. The same thing happens if Dan leaves the battlefield.