Problems in AI, their roots in philosophy, and implications for science and society