If the EU is really interested in increasing the lifetime of products, it's simple, just increase the mandatory warranty from 2 to 5 (or some other appropriate number) years.
That would right away, increase the lifetime of the products, but would also, put a strain on the manufacturers to make it easier to repair (after all, if you have to increase the number of repairs to your products, you are going to make it cheaper to repair it in order to save money).