Instead of selling AI tools to companies, venture firms are buying legacy companies outright and rebuilding them around AI from the inside.