For example, you mention that your career would involve giving up machine learning. There are definitely jobs in Germany where you could do both, here's an example of one: https://www.argo.ai/careers/open-positions/?gh_jid=3560509 (disclaimer, I work there).
In my opinion, there will always be opportunities for interesting work. There will be opportunities for work if you complete your PhD, and there will also be opportunities if you don't, so pick whichever route you think will make you happiest in the long term. Don't pick an option out of fear of missing out on a job, there will be more in the future.