Data science is one of the few fields where a physics degree does have at least some comparative advantage. In any engineering field, a hiring manager with a choice between an engineering graduate and a physics graduate is always going to choose the engineering graduate because they have specific training in the field. Part of the myth propagated by physics departments is that learning to solve a bunch of general problems will somehow make you qualified to solve very specific problems.