A non-developer needs to have some skill, which can't be automated by a computer. Such things include: design, writing, managing people, talking to customers, investors, money and relationships. If AI becomes capable of automating such tasks, their job may become obsolete.
The workers need to be able to automate stuff or manage people, who do. Many high-paid, unskilled factory jobs have disappeared. The jobs are doing things that can't be easily automated. The more automatable the lower the pay.