The German publishing giant has snapped up stakes in online media companies, pivoted its news operations to cater to mobile readers and given its senior managers a crash course in start-up culture.