The last 6 Gyr of dark matter assembly in massive galaxies from the Kilo Degree Survey