Art is anything created for or with the purpose of being observed (here referring to any of the five senses).
If I design/create a can opener with only it’s function in mind, it is not art. But as soon as I design/create a can opener that considers its impression on any of the five senses, I am then creating art.
All music is art, because it is all meant to be experienced. Many devices aren’t meant to provide experience, only to cause a desired effect.