If that ability triggers, you must choose a legal target if one is available. It doesn’t matter who controls the Equipment attached to the creature. If that Equipment is no longer attached to the creature as the ability tries to resolve, the ability won’t resolve and the Equipment won’t be destroyed.