"This means their productivity suffers at their full-time job, an expense the employer ends up paying."
Incorrect. My side projects have made me a better developer in every way, which actually saves my employers money over the long-term. I learn new techniques, skills, and tools off-the-clock. The kind of training that used to be the responsibility of the employer is now on the employee.