An artificial intelligence revolution is under way – but it’s built with gender bias