If AI can code, and empower individuals to do it on a local device, it is already smart enough to educate masses on the matters of their self-interest, such as freedom and solidarity.
I don't think the powers will be able to gatekeep it. There might be some grief but overall human freedom will prevail.