Um... if someone pays you to do a thing, then they own it. Imagine if you paid me a hundred thousand dollars to build a house and then it's my house to live in. Doesn't make any sense at all.
I'm not defending the company, but the law is pretty clear on this. If you want to own your own work, then start your own company.