European tech groups lose $400bn in value following funding crunch