At least 10,000 people are homeless after a massive fire swept through a crowded slum in the Bangladeshi capital of Dhaka and destroyed thousands of shanties.