There are some attempts at this problem, like Bittensor, Akash Network etc