Ideologically I don't consider myself to be a communist or even leftist, so I'm confused by my own reaction as well, but maybe mandatory joint-stock where the government takes a large chunk of equity of any AI enterprise off the bat and manages it like a sovereign wealth fund is the right answer.