Of course the government can invest in a cycling team, the government buys and sells securities all the time.
Also, it's just marketing, the armed forces and other various government agencies can advertise (through tv commercials, magazine ads, etc.) so why can't the postal service advertise through a cycling team?