An engine design could last two decades or more. For example, Ford’s small block v8 engine family was produced for nearly 40 years and the modular v8 that started to replace it in 1991 is still built.
I’d say this announcement means that Daimler thinks that we’re within 30 years of internal combustion engines being almost entirely phased out.