Artificial intelligence is making the beauty industry work for everyone