Espressif Systems has acquired a majority stake in M5Stack, a provider of modular IoT and embedded system platforms. The deal enhances Espressif's AIoT ecosystem.