What a food critic reviews (the food, the service, the ambience) is analogous to the user-facing Twitter experience, which you don't need to be a programmer to review. What a chef does to create that dining experience (sourcing ingredients, planning menus, organizing the kitchen) is analogous to what programmers are doing, and that's not something you can usefully critique without relevant experience.
In any case, I wouldn't really trust a food critic who couldn't cook. But even the greatest home cook is not a chef.
Even this metaphor breaks down, in what way would someone who eats at 5 star restaurants be qualified to comment on the structure of the recipe or the reliable sourcing of ingredients? The truth is pretty clear at this point: Musk has no technical chops.