Guessing it's either a foreign object ingested into both engines, probably a bird strike, or fuel starvation.
And here's a YouTube video showing a Ram Air Turbine (RAT) being deployed on a 787 for comparison: https://www.youtube.com/watch?v=oFBCGf50Trc&t=69s
It could be the blurry object under the fuselage, just to the right of the left engine.
New videos came out and so far the prevailing theory is that flaps were retracted too soon. Most likely instead of gear up.
[1] - https://www.indiatoday.in/india/story/pm-modi-responds-to-it...
Although TBH it also seems like a failure of city planning, aren't most major airports outside of the limits of the city they're associated with because of stuff like this? I know most of them don't have anywhere safe to attempt an emergency landing immediately after leaving the runway but at least there aren't a bunch of homes and office buildings.
https://en.wikipedia.org/wiki/List_of_the_busiest_airports_i....
I'm sure this is an airport most of the people on this site are familiar with but just in case you aren't, it's on reclaimed land in the San Francisco bay.
Go look at a satellite view of SFO.
However, there are plenty of airports in major cities and built up areas (in both developed and developing countries), and I have never heard of avoiding building in areas due to the (remote) possibility of crashes.