Dirty secret:
"The customers who bought also bought" algorithm doesn't require ML/AI.
You can accomplish that with relational algebra on a precomputed data warehouse job and only for products with strong correlation. The intelligence of the customers is enough agency to instil a semblance of intelligence in the data.