The Jonas Brothers singer engaged in a friendly exchange with the Tesla billionaire on his X platform