How Amazon could end its Seattle tax battle and tackle one of the world’s biggest problems