Although excessively unlikely, weirder things have happened. Since the laptop also turns off I would start doing full deep scans with various malware and antivirus programs.
Question: have the laptop and pc ever been networked (not just on the same internet I mean actually being able to share files with one another).
Does the pc also shut off if there is no power going into the router? (startup the pc without the router receiving any power)