Engineering firm IMI revealed it has been hit by a cyber attack just a week after rival Smiths Group said hackers had gained access to its global systems.