Learn statistics and how to communicate them.
That's going to be a long time being automated.
For instance, if (for example) you model insurance data in the EU, you cannot use gender as a factor in pricing (even though it's effective).
In general, the modelling/ML pipeline is the easy bit, the hard part is the data cleaning and figuring out how to translate a business problem into one that can be solved by data.
tl;dr as many people have said about Comp Sci over the years, learn the fundamentals (statistics and experimental design) and you'll be in a much better position.