Power Word Crush

The material world is fragile.
You speak a word of overwhelming power. Choose an object or construct that you can see within range that is Large or smaller. If you choose a non-magical object, it instantly crumples and disintegrates into dust. If you choose a magical object, it temporarily loses any magical properties for one minute, but it cannot be destroyed by a second casting of this spell. If you choose a construct, it takes 30 force damage. Artifacts and other incredibly powerful magical objects are immune to this effect. If the spell has no effect, you regain the spell slot or resource expended to cast it.