Oh, Soylent Green did this years ago and I’m sure with more intelligence.
It's not a new theme, Roddenberry did it in 1969.
Star Trek episode #76: "The Cloud Minders">