How AI and bots strengthen endpoint security