You will own nothing and you will be happy.
Most software developers (or people in any field, working for anyone) rarely own anything they do at work.
And the entrepreneurs running their own companies (which there's an explosion of atm largely because of AI) do indeed "own" the higher-level products and things they're producing, even if AI writes the code.
What is supposed to have changed?
Today, you are training the machine to accept the poorly specified inputs of the CEO's dumb nephew tomorrow.