I feel that if we're supposed to call a SQL query planner AI, then any compiler that targets more than one architecure (including JIT compilers that optimize for the current processor's cache configuration) should be included as well. And if we're going to be that broad in terms of adaptable command execution then we should be similarly broad in terms of command interpretation, which says to me that all HTML parsers and rendering engines should similarly be classified as AI. After all, SQL queries still follow a very rigid structure and any non-conformant query will be rejected, whereas web engines are very good at recovering from non-conformant HTML input.