A person has been killed and 25 more injured in a collision between a high-speed train and a truck in Germany.