Online retailers in the US spent an average of $400k on AI last year