>How many things were invented or financed because someone wanted to get rich?
Not as many as you think I would suggest. In the US a golden era of invention was the postwar era during which inequality fell and the American middle class rose to power and the American government still participated actively in shaping innovation and economic future. Even the Soviet Union invented a good deal of stuff.
Today economic growth is low, inequality is high, it looks like we're on our way to a second gilded age and the things that we call innovation are escooter startups and expensive juice machines. Even die-hard capitalists like Thiel have pointed this out.
If you want innovation what you need is a healthy, equal society, individual opportunity and collective ambition.