My first tought was in this direction: Amazon’s Echo hardware can be hacked to run your own local voice assistant that never touches the cloud. This involves replacing or modifying the Echo’s firmware to break free of Amazon’s servers, then installing offline voice recognition and AI tools on your local network.
Do you have a link? Last time I looked a couple of years ago, Amazon's hardware was too locked down to be used for anything other than Amazon's services.