A number of stocks fell in the afternoon session after investor fears over artificial intelligence disrupting the software industry sparked a broad sell-off.