Two people have died and several others remain trapped following the partial collapse of a hotel in Germany.