Soon, your clothes will be (almost) as smart as you are