Foreign company buys Waco-based company