The German population went through serious economic troubles. Wheelbarrows of cash to buy stuff. Economically troubled people get angry and revolt, and in democratic systems that means firstly voting for the extreme candidates, the ones with a good story. Anger shuts down critical thinking and they don’t think about other consequences of their vote.
That’s how many elections went in a lot of counties in the last few years too.
Electronic products and software should get a “at least supported until” label on the packaging and legally obligated to keep the servers running until that time.