They are probably right. After a PhD, and 2-3 postdocs you end up being 40, out of the domain, and the most probable job available will be data analytics for a bank, when your real dream was the Nobel prize...
"Mechanical Engineer" is going to remain a viable career for any kid interested in physics for the foreseeable future.