In physics people use tensor as a shorthand for tensor field.
Tensor fields are spatial functions whose function value at each point is a tensor.
Yes, that's where the rot started.
For ML, it just turns out that they can talk about their objects and the corresponding operations also mathematically as tensors.
Now the part that always bugged me was that, at least in C++, a vector is an array that can change length, which is a very non-vectorial thing to do.