FANUC saw mixed results in 2024 as sales dipped, but profits rose, driven by factory automation and service growth.