Anis Amri, 24, a Tunisian asylum seeker who arrived in Germany last year, was investigated for “preparing a serious crime endangering national safety”, involving funding the purchase of automatic weapons for use in a terrorist attack.