I don't see the risk. It seems German companies are making weak offers with "probation periods" even for international hires. One problem might be that such offers are not very attractive.
It's pretty bold to give a trial period to an international hire. Employment security is a good thing, and since wages are much lower than in the US, there is not much risk.
Every country does it, except countries with no job security. The notice period of two weeks is more than Americans and Canadians give as a courtesy. What is the alternative, hiring everyone forever?
That's very courteous, 28 days is plenty of time to find a new tech job. A real courtesy would be a golden parachute worth at least 6 months wages if you get laid off without cause. That's probably not more than a US sign-on bonus.
The alternative is giving real contracts to international hires, who already have a proven track record (otherwise why would you hire internationally).
Trial contracts were meant for people straight out of college, but in a race to the bottom some companies have started pushing that line further and further, even having people move across the world for temp contracts. You can't complain about labor shortage while behaving like that.
You don't seem to understand German work contracts well if you compare them to temp contracts.
The probation period also applies to you, the employee, if you choose that a company is not for you. Once that period is over, a three month notice period is quite common, so both you and the employer are locked into a relationship.
The probation period balances out how stable employment is once you both agreed that you're a match.
You don't seem to understand them. German law does not force you to have a three month notice period at the start of your employment, you can negotiate for a shorter period without the at-will part.