Rise in 5G subscribers increased sales but investment into 5G infrastructure slightly dented profitability.