I had heard there were great strides made in AI, but I sincerely doubt even the cleverest laptop is sentient...
Depends on multiple factors - if you have a dual-band (2.4Ghz & 5Ghz) Roku & laptop NIC, try connecting each to the 5Ghz SSID (you should have your band separated with separate SSIDs).
Or change the channel and/or channel bandwidth of either/both 2.4Ghz and 5Ghz in your modem/router/gateway settings.
Or move other devices off of the band your laptop is connecting on if possible...