How artificial intelligence will boost these beauty brands' bottom line