Adding any kind of practical application to high school math would make it more interesting. It doesn’t have to be AI, it could be car design. Math is usually taught abstractly with no connection to the real world. It’s no surprise students aren’t interested.