LONDON — After nearly a week of being shuttled among community centers, hotels and vacant properties, weary survivors of London’s worst fire in decades learned on Wednesday that some of them would be housed in a luxury complex where some apartments go for more than 8.5 million pounds, or $10 million.

In an announcement that startled some survivors, the government said it would acquire 68 units — ranging in size from one to three bedrooms — to permanently house some of the displaced families.

The units are in a complex that is only a mile and a half south of Grenfell Tower — the 1974 building with 120 apartments that was incinerated early on the morning of June 14, killing at least 79 people — but there is a social and economic chasm between the buildings.