Scientists create tiny capsules that can vacuum up or deliver cargo at will