If the jobs require similar skills/aptitude/talent and a similar level of "investment" in job-specific training and experience, then the market force expectation is that as the information about the pay gap becomes clear, potential engineers would avoid EE jobs in favor on CS jobs, and EE training in favor of web development training, until the shortage of employees forces hardware companies to pay robot programmers as good as SAAS programmers or be unable to hire robot programmers.