CRM and marketing automation often overlaps, which is why a lot of businesses combine the two systems to maximise goals.
In terms of the differences, automations tend to focus more on the lead generation and lead nurture side of things.
CRM, on the other hand, is a lot broader in comparison.