Tech companies want to build artificial general intelligence. But who decides when AGI is attained?

There’s a race underway to build artificial general intelligence, a futuristic vision of machines that are as broadly smart as humans or at least can do many things as well as people can.