Just months after surpassing ASML, German software giant SAP has overtaken Novo Nordisk to become Europe’s most valuable listed company.