Setting autopilot immediately on takeoff is very tempting because it massively reduces workload vs hand flying during a critical flight stage (high workload). So there’s a strong temptation to do this. But if you miss a few checklist items and don’t fully understand the systems, this is the result. The numbers seem to indicate they didn’t immediately recover the situation either I.e immediately switch to hand flying…
This wasn’t an autopilot problem. The problem occurred while still in takeoff roll.
Just an amateur here, I could be wrong.
It is true that according to the article, autopilot was not engaged and the pilot was following the flight director during the take off roll. However, had the pilots obtained positive climb, and satisfied autopilot activation requirements, and turned it on, wouldn't it be catastrophic if the altitude had not been set properly? [0]
[0] See, eg, https://www.bbc.co.uk/news/uk-46137445