At Amazon practically everything that’s not AWS falls under “retail”. Including things like prime video and alexa.
Internally, Amazon structures their teams into divisions. There is a retail division, and part of that division works on Alexa (mainly, the shopping skills and shopping experience, trying to make shopping on Amazon with Alexa as easy as possible) - but the main Alexa organization is not under "retail" at Amazon, which includes the actual device development, hardware teams, ML related to voice processing, etc. Same story with Prime Video.