Amazon vice-president Tim Bray says he's resigning over the treatment of workers fired for raising concerns about COVID-19.