LG bets big on AI, Samsung on IoT startups