American technology companies like Apple, Facebook and Google are striving to improve gender and racial diversity in their workforce. Having revealed their