I have little doubt that an AI-driven society with sociopolitical decisions taken by some benevolent artificial dictator, with a planned economy, would score very high in whatever metrics we consider important, but that is not a world I want to live in. Not even if we could find a way to objectively measure happiness and the society would be based on maximising aggregate happiness.
I want a live in a world that empowers the individual, and leaves the individual with the choice on how to live his life. A world where each individual has and feels the liberty to pursue happiness.
I have little doubt that this world is most certainly not optimal based on most aggregate metrics you can think of, such as productivity across industries.