If you are hired as a software engineer, yes, the systems you develop as part of your job belong to the company.
If someone hires you to cut the grass, and you create a machine that does it (the "Yardba"(tm)), there's no reason that machine would belong to the employer - creating it was not a part of your job.