In some companies, artificial intelligence is replacing the boss