They are fine next to the sewing machine. In the olden days, the floppy disk drives and the CRT monitors were affected by magnets, but different technology is used now, as well as better shielding. People worry about this all the time, but it simply is not an issue.